diff --git a/SpigotCore_Main/src/de/steamwar/entity/REntity.java b/SpigotCore_Main/src/de/steamwar/entity/REntity.java index c850d51..7c0fa2e 100644 --- a/SpigotCore_Main/src/de/steamwar/entity/REntity.java +++ b/SpigotCore_Main/src/de/steamwar/entity/REntity.java @@ -396,7 +396,6 @@ public class REntity { break; } - Reflection.FieldAccessor additionalData = Reflection.getField(spawnPacket, int.class, index); BountifulWrapper.PositionSetter position = BountifulWrapper.impl.getPositionSetter(spawnPacket, posOffset); diff --git a/SpigotCore_Main/src/de/steamwar/entity/RFallingBlockEntity.java b/SpigotCore_Main/src/de/steamwar/entity/RFallingBlockEntity.java new file mode 100644 index 0000000..0512206 --- /dev/null +++ b/SpigotCore_Main/src/de/steamwar/entity/RFallingBlockEntity.java @@ -0,0 +1,13 @@ +package de.steamwar.entity; + +import de.steamwar.techhider.BlockIds; +import org.bukkit.Location; +import org.bukkit.Material; +import org.bukkit.entity.EntityType; + +public class RFallingBlockEntity extends REntity{ + + public RFallingBlockEntity(REntityServer server, EntityType entityType, Location location, Material material) { + super(server, entityType, location, BlockIds.impl.materialToId(material)); + } +}