Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- public static void showAll(final Player pl) {
- Player[] onlinePlayers;
- onlinePlayers = Bukkit.getOnlinePlayers().toArray(new Player[0]);
- for (int length = onlinePlayers.length, i = 0; i < length; ++i) {
- final Player p = onlinePlayers[i];
- if (p != null) {
- if (pl != null) {
- if (!pl.canSee(p)) {
- pl.showPlayer(p);
- }
- }
- }
- }
- Main.hiders.remove(pl.getName());
- changeItem(pl);
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement