mirror of
https://github.com/taoneill/war.git
synced 2024-11-27 04:35:35 +01:00
Little renaming of the Spout ui classes.
This commit is contained in:
parent
9ea65c051f
commit
d7a6bf9e53
@ -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);
|
||||
}
|
||||
|
@ -912,7 +912,7 @@ public class War extends JavaPlugin {
|
||||
return this.warConfig;
|
||||
}
|
||||
|
||||
public SpoutDisplayer getSpoutMessenger() {
|
||||
public SpoutDisplayer getSpoutDisplayer() {
|
||||
return this.spoutMessenger ;
|
||||
}
|
||||
}
|
||||
|
@ -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.");
|
||||
|
@ -21,7 +21,7 @@ public class WarServerListener implements Listener {
|
||||
sp.getMainScreen().removeWidgets(War.war);
|
||||
}
|
||||
}
|
||||
War.war.getSpoutMessenger().clearAll();
|
||||
War.war.getSpoutDisplayer().clearAll();
|
||||
}
|
||||
}
|
||||
}
|
||||
|
@ -8,7 +8,7 @@ public class SpoutFadeOutMessageJob implements Runnable {
|
||||
}
|
||||
|
||||
public void run() {
|
||||
War.war.getSpoutMessenger().fadeOutOldMessages();
|
||||
War.war.getSpoutDisplayer().fadeOutOldMessages();
|
||||
}
|
||||
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user