SteamWar/FightSystem
Archiviert
13
1

Final Föx... #244

Manuell gemergt
YoyoNow hat 1 Commits von adding_billo_april nach master 2021-04-01 00:25:57 +02:00 zusammengeführt

Datei anzeigen

@ -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);