13
0
Dieser Commit ist enthalten in:
Lixfel 2021-10-04 17:18:00 +02:00
Ursprung e3d8e60aea
Commit f59a0fda8d
2 geänderte Dateien mit 3 neuen und 3 gelöschten Zeilen

Datei anzeigen

@ -65,10 +65,10 @@ public class Hologram implements ConfigurationSerializable {
private static final Reflection.ConstructorInvoker itemConstructor = Reflection.getConstructor(item, dataWatcherObject, Object.class); private static final Reflection.ConstructorInvoker itemConstructor = Reflection.getConstructor(item, dataWatcherObject, Object.class);
private static final Object invisibleWatcher = getDataWatcherObject(0, Byte.class); private static final Object invisibleWatcher = getDataWatcherObject(0, Byte.class);
private static final Object nameWatcher = getDataWatcherObject(2, String.class); private static final Object nameWatcher = getDataWatcherObject(2, String.class);
private static final Object nameVisibleWatcher = getDataWatcherObject(3, String.class); private static final Object nameVisibleWatcher = getDataWatcherObject(3, Boolean.class);
private static final Object silentWatcher = getDataWatcherObject(4, Boolean.class); private static final Object silentWatcher = getDataWatcherObject(4, Boolean.class);
private static final Object noGravityWatcher = getDataWatcherObject(5, Boolean.class); private static final Object noGravityWatcher = getDataWatcherObject(5, Boolean.class);
private static final Object sizeWatcher = getDataWatcherObject(15, Byte.class); private static final Object sizeWatcher = getDataWatcherObject(14, Byte.class);
private static final Class<?> destroyPacket = Reflection.getClass("{nms}.PacketPlayOutEntityDestroy"); private static final Class<?> destroyPacket = Reflection.getClass("{nms}.PacketPlayOutEntityDestroy");
private static final Reflection.ConstructorInvoker destoryPacketConstructor = Reflection.getConstructor(destroyPacket); private static final Reflection.ConstructorInvoker destoryPacketConstructor = Reflection.getConstructor(destroyPacket);

Datei anzeigen

@ -31,7 +31,7 @@ public class Join extends BasicListener {
Player player = e.getPlayer(); Player player = e.getPlayer();
player.setGameMode(GameMode.ADVENTURE); player.setGameMode(GameMode.ADVENTURE);
player.setWalkSpeed(5.0f); player.setWalkSpeed(0.5f);
//new ImALobbyPacket().send(player); //new ImALobbyPacket().send(player);
} }