fixing "Kicked for flying again" again...
This commit is contained in:
parent
5482d1dc40
commit
0f587ba5d9
@ -223,8 +223,9 @@ public class DisguiseCommand extends CommandBase<HubManager> implements Listener
|
|||||||
e.printStackTrace();
|
e.printStackTrace();
|
||||||
}
|
}
|
||||||
|
|
||||||
PacketPlayOutRespawn packet = new PacketPlayOutRespawn(0, EnumDifficulty.getById(caller.getWorld().getDifficulty().getValue()), WorldType.NORMAL, EnumGamemode.getById(caller.getGameMode().getValue()));
|
// removed "due to Kicked for Flying"
|
||||||
UtilPlayer.sendPacket(caller, packet);
|
//PacketPlayOutRespawn packet = new PacketPlayOutRespawn(0, EnumDifficulty.getById(caller.getWorld().getDifficulty().getValue()), WorldType.NORMAL, EnumGamemode.getById(caller.getGameMode().getValue()));
|
||||||
|
//UtilPlayer.sendPacket(caller, packet);
|
||||||
|
|
||||||
tablistRefresh(caller);
|
tablistRefresh(caller);
|
||||||
} catch(Exception e)
|
} catch(Exception e)
|
||||||
|
@ -225,8 +225,9 @@ public class DisguiseCommand extends CommandBase<ArcadeManager> implements Liste
|
|||||||
e.printStackTrace();
|
e.printStackTrace();
|
||||||
}
|
}
|
||||||
|
|
||||||
PacketPlayOutRespawn packet = new PacketPlayOutRespawn(0, EnumDifficulty.getById(caller.getWorld().getDifficulty().getValue()), WorldType.NORMAL, EnumGamemode.getById(caller.getGameMode().getValue()));
|
// removed "due to Kicked for Flying"
|
||||||
UtilPlayer.sendPacket(caller, packet);
|
//PacketPlayOutRespawn packet = new PacketPlayOutRespawn(0, EnumDifficulty.getById(caller.getWorld().getDifficulty().getValue()), WorldType.NORMAL, EnumGamemode.getById(caller.getGameMode().getValue()));
|
||||||
|
//UtilPlayer.sendPacket(caller, packet);
|
||||||
|
|
||||||
tablistRefresh(caller);
|
tablistRefresh(caller);
|
||||||
} catch(Exception e)
|
} catch(Exception e)
|
||||||
|
Loading…
Reference in New Issue
Block a user