Signed-off-by: yoyosource <yoyosource@nidido.de>
Dieser Commit ist enthalten in:
Ursprung
ccb2f8540f
Commit
5d8bd398ec
@ -43,7 +43,7 @@ public class WarpEntity19 extends BaseArmorStand19 implements AbstractWarpEntity
|
|||||||
@Override
|
@Override
|
||||||
public void display(Player player) {
|
public void display(Player player) {
|
||||||
this.n(true);
|
this.n(true);
|
||||||
this.a(IChatMutableComponent.a(new LiteralContents(name)));
|
this.b(IChatMutableComponent.a(new LiteralContents(name)));
|
||||||
sendEntity(player);
|
sendEntity(player);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -47,7 +47,7 @@ public class BaseArmorStand19 extends EntityArmorStand implements AbstractEntity
|
|||||||
}
|
}
|
||||||
|
|
||||||
public void sendEntity(Player player) {
|
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 playerConnection = ((CraftPlayer) player).getHandle().b;
|
||||||
playerConnection.a(packetPlayOutSpawnEntity);
|
playerConnection.a(packetPlayOutSpawnEntity);
|
||||||
|
|
||||||
|
@ -63,7 +63,6 @@ public class WarpListener implements Listener {
|
|||||||
}
|
}
|
||||||
|
|
||||||
private void createStuff(Player p, Material material, boolean sneaking) {
|
private void createStuff(Player p, Material material, boolean sneaking) {
|
||||||
if (true) return;
|
|
||||||
if (warpsShown.containsKey(p)) {
|
if (warpsShown.containsKey(p)) {
|
||||||
warpsShown.get(p).forEach(warp -> {
|
warpsShown.get(p).forEach(warp -> {
|
||||||
warp.hide(p);
|
warp.hide(p);
|
||||||
|
In neuem Issue referenzieren
Einen Benutzer sperren