Little renaming of the Spout ui classes.

This commit is contained in:
taoneill 2012-01-29 21:31:54 -05:00
parent 9ea65c051f
commit d7a6bf9e53
5 changed files with 6 additions and 6 deletions

View File

@ -328,7 +328,7 @@ public class Team {
}
if (War.war.isSpoutServer()) {
War.war.getSpoutMessenger().updateStats(this.warzone);
War.war.getSpoutDisplayer().updateStats(this.warzone);
}
}
@ -371,7 +371,7 @@ public class Team {
SpoutPlayer sp = SpoutManager.getPlayer(player);
if (sp.isSpoutCraftEnabled() && isNotification) {
// team notifications go to the top left for Spout players to lessen War spam in chat box
War.war.getSpoutMessenger().msg(sp, message);
War.war.getSpoutDisplayer().msg(sp, message);
} else {
War.war.msg(player, message);
}

View File

@ -912,7 +912,7 @@ public class War extends JavaPlugin {
return this.warConfig;
}
public SpoutDisplayer getSpoutMessenger() {
public SpoutDisplayer getSpoutDisplayer() {
return this.spoutMessenger ;
}
}

View File

@ -1001,7 +1001,7 @@ public class Warzone {
// To hide stats
if (War.war.isSpoutServer()) {
War.war.getSpoutMessenger().updateStats(player);
War.war.getSpoutDisplayer().updateStats(player);
}
War.war.msg(player, "Your inventory is being restored.");

View File

@ -21,7 +21,7 @@ public class WarServerListener implements Listener {
sp.getMainScreen().removeWidgets(War.war);
}
}
War.war.getSpoutMessenger().clearAll();
War.war.getSpoutDisplayer().clearAll();
}
}
}

View File

@ -8,7 +8,7 @@ public class SpoutFadeOutMessageJob implements Runnable {
}
public void run() {
War.war.getSpoutMessenger().fadeOutOldMessages();
War.war.getSpoutDisplayer().fadeOutOldMessages();
}
}