Solved Chat Separated by world failing (using reflection)

Discussion in 'Spigot Plugin Development' started by FiXed, May 29, 2016.

Thread Status:
Not open for further replies.
  1. Made over complicated dw about it xD

    used this:

    Code (Java):
            Player player = event.getPlayer();
            for (final Player pl : Bukkit.getOnlinePlayers()) {
                if (!pl.getWorld().equals(player.getWorld()))
                    event.getRecipients().remove(pl);
            }
     
    #1 FiXed, May 29, 2016
    Last edited: May 29, 2016
Thread Status:
Not open for further replies.