Tracer-entity #147
@ -68,7 +68,7 @@ class TNTEntity_12 extends EntityFallingBlock implements AbstractTNTEntity {
|
|||||||
|
|
||||||
@Override
|
@Override
|
||||||
public AbstractTNTEntity hide(Player player) {
|
public AbstractTNTEntity hide(Player player) {
|
||||||
PacketPlayOutEntityDestroy packetPlayOutEntityDestroy = new PacketPlayOutEntityDestroy(getId());
|
PacketPlayOutEntityDestroy packetPlayOutEntityDestroy = new PacketPlayOutEntityDestroy(new int[]{getId()});
|
||||||
((CraftPlayer) player).getHandle().playerConnection.sendPacket(packetPlayOutEntityDestroy);
|
((CraftPlayer) player).getHandle().playerConnection.sendPacket(packetPlayOutEntityDestroy);
|
||||||
|
|
||||||
return this;
|
return this;
|
||||||
|
@ -60,7 +60,7 @@ class TNTEntity_15 extends EntityFallingBlock implements AbstractTNTEntity {
|
|||||||
|
|
||||||
@Override
|
@Override
|
||||||
public AbstractTNTEntity hide(Player player) {
|
public AbstractTNTEntity hide(Player player) {
|
||||||
PacketPlayOutEntityDestroy packetPlayOutEntityDestroy = new PacketPlayOutEntityDestroy(getId());
|
PacketPlayOutEntityDestroy packetPlayOutEntityDestroy = new PacketPlayOutEntityDestroy(new int[]{getId()});
|
||||||
((CraftPlayer) player).getHandle().playerConnection.sendPacket(packetPlayOutEntityDestroy);
|
((CraftPlayer) player).getHandle().playerConnection.sendPacket(packetPlayOutEntityDestroy);
|
||||||
|
|
||||||
return this;
|
return this;
|
||||||
|
In neuem Issue referenzieren
Einen Benutzer sperren