Fix slight error in amplifier end messages

This commit is contained in:
AlexTheCoder 2016-08-07 18:52:21 -04:00
parent e16d88e52b
commit 36e6c7ce33

View File

@ -87,7 +87,7 @@ public class AmplifierManager extends MiniPlugin
}
if (_active != null && _active.isEnded())
{
Bukkit.broadcastMessage(F.main(getName(), "The " + F.clansNether(AMPLIFIER_NAME) + " owned by " + F.elem(_active.getOwner()) + " has run out! You can purchase another at http://www.mineplex.com/shop!"));
Bukkit.broadcastMessage(F.main(getName(), "The " + F.clansNether(AMPLIFIER_NAME) + " owned by " + F.elem(_active.getOwner().getName()) + " has run out! You can purchase another at http://www.mineplex.com/shop!"));
_active = null;
}
}