Final Föx...
Dieser Commit ist enthalten in:
Ursprung
ed5081d323
Commit
2c033cdce8
@ -98,10 +98,10 @@ public class DenyWorldInteraction implements Listener {
|
||||
public void onPlayerJoin(PlayerJoinEvent event) {
|
||||
if(FightSystem.ISAPRIL) {
|
||||
PacketContainer demo = ProtocolLibrary.getProtocolManager().createPacket(PacketType.Play.Server.GAME_STATE_CHANGE);
|
||||
demo.getBytes().write(0, (byte) 5);
|
||||
demo.getIntegers().write(0, 5);
|
||||
demo.getFloat().write(0, 0F);
|
||||
PacketContainer rain = ProtocolLibrary.getProtocolManager().createPacket(PacketType.Play.Server.GAME_STATE_CHANGE);
|
||||
rain.getBytes().write(0, (byte) 7);
|
||||
rain.getIntegers().write(0, 7);
|
||||
rain.getFloat().write(0, 5F);
|
||||
try {
|
||||
ProtocolLibrary.getProtocolManager().sendServerPacket(event.getPlayer(), demo);
|
||||
|
In neuem Issue referenzieren
Einen Benutzer sperren