SteamWar/FightSystem
Archiviert
13
1

Merge pull request 'Final Föx...' (#244) from adding_billo_april into master

Reviewed-on: #244
Reviewed-by: YoyoNow <jwsteam@nidido.de>
Dieser Commit ist enthalten in:
YoyoNow 2021-04-01 00:25:57 +02:00
Commit 254b43618e

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