diff --git a/BauSystem_19/src/de/steamwar/bausystem/entities/WarpEntity19.java b/BauSystem_19/src/de/steamwar/bausystem/entities/WarpEntity19.java index 1cb23ccb..d97d252d 100644 --- a/BauSystem_19/src/de/steamwar/bausystem/entities/WarpEntity19.java +++ b/BauSystem_19/src/de/steamwar/bausystem/entities/WarpEntity19.java @@ -43,7 +43,7 @@ public class WarpEntity19 extends BaseArmorStand19 implements AbstractWarpEntity @Override public void display(Player player) { this.n(true); - this.a(IChatMutableComponent.a(new LiteralContents(name))); + this.b(IChatMutableComponent.a(new LiteralContents(name))); sendEntity(player); } diff --git a/BauSystem_19/src/de/steamwar/bausystem/shared/BaseArmorStand19.java b/BauSystem_19/src/de/steamwar/bausystem/shared/BaseArmorStand19.java index ec822397..ea231994 100644 --- a/BauSystem_19/src/de/steamwar/bausystem/shared/BaseArmorStand19.java +++ b/BauSystem_19/src/de/steamwar/bausystem/shared/BaseArmorStand19.java @@ -47,7 +47,7 @@ public class BaseArmorStand19 extends EntityArmorStand implements AbstractEntity } public void sendEntity(Player player) { - PacketPlayOutSpawnEntity packetPlayOutSpawnEntity = new PacketPlayOutSpawnEntity(ae(), cp(), position.getX(), position.getY(), position.getZ(), 0, 0, EntityTypes.c, 0, ZERO, 0.0); + PacketPlayOutSpawnEntity packetPlayOutSpawnEntity = new PacketPlayOutSpawnEntity(ae(), cp(), position.getX(), position.getY(), position.getZ(), 0, 0, EntityTypes.d, 0, ZERO, 0.0); PlayerConnection playerConnection = ((CraftPlayer) player).getHandle().b; playerConnection.a(packetPlayOutSpawnEntity); diff --git a/BauSystem_Main/src/de/steamwar/bausystem/features/warp/WarpListener.java b/BauSystem_Main/src/de/steamwar/bausystem/features/warp/WarpListener.java index fc7a1546..587580f2 100644 --- a/BauSystem_Main/src/de/steamwar/bausystem/features/warp/WarpListener.java +++ b/BauSystem_Main/src/de/steamwar/bausystem/features/warp/WarpListener.java @@ -63,7 +63,6 @@ public class WarpListener implements Listener { } private void createStuff(Player p, Material material, boolean sneaking) { - if (true) return; if (warpsShown.containsKey(p)) { warpsShown.get(p).forEach(warp -> { warp.hide(p);