mirror of
https://github.com/AtlasMediaGroup/TotalFreedomMod.git
synced 2024-11-27 01:05:38 +00:00
oops
This commit is contained in:
parent
6d0400cdf3
commit
5641d0d504
18
pom.xml
18
pom.xml
@ -39,11 +39,6 @@
|
||||
</scm>
|
||||
|
||||
<repositories>
|
||||
<repository>
|
||||
<id>ess-repo</id>
|
||||
<url>https://ci.ender.zone/plugin/repository/everything/</url>
|
||||
</repository>
|
||||
|
||||
<repository>
|
||||
<id>jitpack.io</id>
|
||||
<url>https://jitpack.io</url>
|
||||
@ -142,21 +137,14 @@
|
||||
<dependency>
|
||||
<groupId>com.github.TFPatches</groupId>
|
||||
<artifactId>TF-LibsDisguises</artifactId>
|
||||
<version>89efd2c93e</version>
|
||||
<scope>provided</scope>
|
||||
</dependency>
|
||||
|
||||
<dependency>
|
||||
<groupId>com.github.TFPatches</groupId>
|
||||
<artifactId>TotalFreedomMod</artifactId>
|
||||
<version>4a91c81</version>
|
||||
<version>11aea9b3cd</version>
|
||||
<scope>provided</scope>
|
||||
</dependency>
|
||||
|
||||
<dependency>
|
||||
<groupId>com.github.TFPatches</groupId>
|
||||
<artifactId>TF-WorldEdit</artifactId>
|
||||
<version>0909dc1972</version>
|
||||
<version>fd3f56f015</version>
|
||||
<scope>provided</scope>
|
||||
</dependency>
|
||||
|
||||
@ -184,7 +172,7 @@
|
||||
<dependency>
|
||||
<groupId>com.github.TFPatches</groupId>
|
||||
<artifactId>TF-WorldGuard</artifactId>
|
||||
<version>50fd4cb470</version>
|
||||
<version>bb12813214</version>
|
||||
<scope>provided</scope>
|
||||
</dependency>
|
||||
</dependencies>
|
||||
|
@ -31,7 +31,6 @@ public class EntityWiper extends FreedomService
|
||||
@Override
|
||||
protected void onStart()
|
||||
{
|
||||
BLACKLIST.addAll(Groups.MOB_TYPES);
|
||||
// Continuous Entity Wiper
|
||||
wiper = new BukkitRunnable()
|
||||
{
|
||||
@ -46,7 +45,6 @@ public class EntityWiper extends FreedomService
|
||||
@Override
|
||||
protected void onStop()
|
||||
{
|
||||
BLACKLIST.removeAll(Groups.MOB_TYPES);
|
||||
wiper.cancel();
|
||||
wiper = null;
|
||||
}
|
||||
@ -60,7 +58,7 @@ public class EntityWiper extends FreedomService
|
||||
{
|
||||
for (Entity entity : world.getEntities())
|
||||
{
|
||||
if (!BLACKLIST.contains(entity.getType()))
|
||||
if (!BLACKLIST.contains(entity.getType()) && !Groups.MOB_TYPES.contains(entity.getType()))
|
||||
{
|
||||
entity.remove();
|
||||
removed++;
|
||||
|
Loading…
Reference in New Issue
Block a user