Fixed mcMMO overwritting Spout titles set by other plugins.

This commit is contained in:
GJ
2013-05-15 15:14:47 -04:00
parent aa9eb0868c
commit 36bdb8a63e
2 changed files with 2 additions and 1 deletions

View File

@ -33,7 +33,7 @@ public class SpoutListener implements Listener {
// TODO: Add custom titles based on skills
if (SpoutUtils.showPowerLevel) {
spoutPlayer.setTitle(LocaleLoader.getString("Spout.Title", spoutPlayer.getName(), mcMMOPlayer.getPowerLevel()));
spoutPlayer.setTitle(LocaleLoader.getString("Spout.Title", spoutPlayer.getTitle(), mcMMOPlayer.getPowerLevel()));
}
mcMMOPlayer.getProfile().setSpoutHud(new McMMOHud(mcMMOPlayer)); // Setup Party HUD stuff