diff --git a/BauSystem_18/src/de/steamwar/bausystem/entities/DetonatorEntity18.java b/BauSystem_18/src/de/steamwar/bausystem/entities/DetonatorEntity18.java index bf1f670b..50078e9a 100644 --- a/BauSystem_18/src/de/steamwar/bausystem/entities/DetonatorEntity18.java +++ b/BauSystem_18/src/de/steamwar/bausystem/entities/DetonatorEntity18.java @@ -19,12 +19,12 @@ package de.steamwar.bausystem.entities; -import com.sk89q.worldedit.world.entity.EntityTypes; import de.steamwar.bausystem.features.detonator.AbstractDetonatorEntity; import net.minecraft.network.protocol.game.PacketPlayOutEntityDestroy; import net.minecraft.network.protocol.game.PacketPlayOutEntityMetadata; import net.minecraft.network.protocol.game.PacketPlayOutSpawnEntity; import net.minecraft.server.network.PlayerConnection; +import net.minecraft.world.entity.EntityTypes; import net.minecraft.world.entity.item.EntityFallingBlock; import net.minecraft.world.level.block.Block; import net.minecraft.world.level.block.Blocks; @@ -60,7 +60,7 @@ public class DetonatorEntity18 extends EntityFallingBlock implements AbstractDet if (references++ > 0) return; - PacketPlayOutSpawnEntity packetPlayOutSpawnEntity = new PacketPlayOutSpawnEntity(getId(), cm(), position.getX(), position.getY(), position.getZ(), 0, 0, EntityTypes.FALLING_BLOCK, Block.i(Blocks.du.n()), ZERO); + PacketPlayOutSpawnEntity packetPlayOutSpawnEntity = new PacketPlayOutSpawnEntity(getId(), cm(), position.getX(), position.getY(), position.getZ(), 0, 0, EntityTypes.C, Block.i(Blocks.du.n()), ZERO); PlayerConnection playerConnection = ((CraftPlayer) player).getHandle().b; playerConnection.a(packetPlayOutSpawnEntity);