I currently have a bungee cord plugin that receives a message using plugin messaging, but every time the plugin loops for all players on the bungee cord proxy it will perform a method a random amount of times.
Code:
Bungee Cord Player Loop Bug
Code:
Code (text):
@EventHandler
public void receivePluginMessage(PluginMessageEvent event)
throws IOException, SQLException {
if (event.isCancelled()) {
return;
}
if (!(event.getSender() instanceof Server)) {
return;...
public void receivePluginMessage(PluginMessageEvent event)
throws IOException, SQLException {
if (event.isCancelled()) {
return;
}
if (!(event.getSender() instanceof Server)) {
return;...