Fix some stuff
Dieser Commit ist enthalten in:
Ursprung
e3d8e60aea
Commit
f59a0fda8d
@ -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);
|
||||||
|
@ -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);
|
||||||
}
|
}
|
||||||
|
In neuem Issue referenzieren
Einen Benutzer sperren