diff --git a/BauSystem_15/src/de/steamwar/bausystem/utils/NMSWrapper15.java b/BauSystem_15/src/de/steamwar/bausystem/utils/NMSWrapper15.java index e27b9147..01403c3b 100644 --- a/BauSystem_15/src/de/steamwar/bausystem/utils/NMSWrapper15.java +++ b/BauSystem_15/src/de/steamwar/bausystem/utils/NMSWrapper15.java @@ -157,16 +157,6 @@ public class NMSWrapper15 implements NMSWrapper { return invalid; } - @Override - public AbstractSimulatorEntity createSimulator(World world, Vector tntPosition, boolean highlight) { - return new SimulatorEntity15(world, tntPosition, highlight); - } - - @Override - public AbstractDetonatorEntity constructDetonator(World world, Vector position) { - return new DetonatorEntity15(world, position); - } - private final Class explosionPacket = Reflection.getClass("{nms.network.protocol.game}.PacketPlayOutExplosion"); private final Reflection.FieldAccessor a = Reflection.getField(explosionPacket, double.class, 0); private final Reflection.FieldAccessor b = Reflection.getField(explosionPacket, double.class, 1); diff --git a/BauSystem_18/src/de/steamwar/bausystem/utils/NMSWrapper18.java b/BauSystem_18/src/de/steamwar/bausystem/utils/NMSWrapper18.java index 932d37d7..0aab7427 100644 --- a/BauSystem_18/src/de/steamwar/bausystem/utils/NMSWrapper18.java +++ b/BauSystem_18/src/de/steamwar/bausystem/utils/NMSWrapper18.java @@ -166,16 +166,6 @@ public class NMSWrapper18 implements NMSWrapper { return invalid; } - @Override - public AbstractSimulatorEntity createSimulator(World world, Vector tntPosition, boolean highlight) { - return new SimulatorEntity18(world, tntPosition, highlight); - } - - @Override - public AbstractDetonatorEntity constructDetonator(World world, Vector position) { - return new DetonatorEntity18(world, position); - } - private final Class explosionPacket = Reflection.getClass("{nms.network.protocol.game}.PacketPlayOutExplosion"); private final Reflection.FieldAccessor a = Reflection.getField(explosionPacket, double.class, 0); private final Reflection.FieldAccessor b = Reflection.getField(explosionPacket, double.class, 1); diff --git a/BauSystem_19/src/de/steamwar/bausystem/utils/NMSWrapper19.java b/BauSystem_19/src/de/steamwar/bausystem/utils/NMSWrapper19.java index bd6e3b53..4655d738 100644 --- a/BauSystem_19/src/de/steamwar/bausystem/utils/NMSWrapper19.java +++ b/BauSystem_19/src/de/steamwar/bausystem/utils/NMSWrapper19.java @@ -166,16 +166,6 @@ public class NMSWrapper19 implements NMSWrapper { return invalid; } - @Override - public AbstractSimulatorEntity createSimulator(World world, Vector tntPosition, boolean highlight) { - return new SimulatorEntity19(world, tntPosition, highlight); - } - - @Override - public AbstractDetonatorEntity constructDetonator(World world, Vector position) { - return new DetonatorEntity19(world, position); - } - private final Class explosionPacket = Reflection.getClass("{nms.network.protocol.game}.PacketPlayOutExplosion"); private final Reflection.FieldAccessor a = Reflection.getField(explosionPacket, double.class, 0); private final Reflection.FieldAccessor b = Reflection.getField(explosionPacket, double.class, 1); diff --git a/BauSystem_Main/src/de/steamwar/bausystem/utils/NMSWrapper.java b/BauSystem_Main/src/de/steamwar/bausystem/utils/NMSWrapper.java index 96e38a05..f80d8451 100644 --- a/BauSystem_Main/src/de/steamwar/bausystem/utils/NMSWrapper.java +++ b/BauSystem_Main/src/de/steamwar/bausystem/utils/NMSWrapper.java @@ -20,15 +20,12 @@ package de.steamwar.bausystem.utils; import de.steamwar.bausystem.BauSystem; -import de.steamwar.bausystem.features.detonator.AbstractDetonatorEntity; -import de.steamwar.bausystem.features.simulator.AbstractSimulatorEntity; import de.steamwar.core.VersionDependent; import org.bukkit.GameMode; import org.bukkit.Material; import org.bukkit.World; import org.bukkit.entity.Player; import org.bukkit.inventory.ItemStack; -import org.bukkit.util.Vector; import java.util.function.LongSupplier; @@ -49,8 +46,5 @@ public interface NMSWrapper { boolean checkItemStack(ItemStack item); - AbstractSimulatorEntity createSimulator(World world, Vector tntPosition, boolean highlight); - AbstractDetonatorEntity constructDetonator(World world, Vector position); - Object resetExplosionKnockback(Object packet); }