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:
Commit
254b43618e
@ -98,10 +98,10 @@ public class DenyWorldInteraction implements Listener {
|
|||||||
public void onPlayerJoin(PlayerJoinEvent event) {
|
public void onPlayerJoin(PlayerJoinEvent event) {
|
||||||
if(FightSystem.ISAPRIL) {
|
if(FightSystem.ISAPRIL) {
|
||||||
PacketContainer demo = ProtocolLibrary.getProtocolManager().createPacket(PacketType.Play.Server.GAME_STATE_CHANGE);
|
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);
|
demo.getFloat().write(0, 0F);
|
||||||
PacketContainer rain = ProtocolLibrary.getProtocolManager().createPacket(PacketType.Play.Server.GAME_STATE_CHANGE);
|
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);
|
rain.getFloat().write(0, 5F);
|
||||||
try {
|
try {
|
||||||
ProtocolLibrary.getProtocolManager().sendServerPacket(event.getPlayer(), demo);
|
ProtocolLibrary.getProtocolManager().sendServerPacket(event.getPlayer(), demo);
|
||||||
|
In neuem Issue referenzieren
Einen Benutzer sperren