Build will fail. Started work on converting to using uuid's internally.

While doing this I deleted one method that I shouldn't have, so going to
revert that. Next I have to build a method or two which will allow me to
do last known names lookups, etc. Might switch to using a library to
handle getting names async so we don't block the server up, doing this
will result in us having to recode some of the commands internally.

If you have any suggestions or questions, I'm open.
This commit is contained in:
graywolf336
2014-04-28 23:52:52 -05:00
parent 0981fe659f
commit 63e117ac72
9 changed files with 106 additions and 125 deletions

View File

@ -69,7 +69,7 @@ public class JailTimer {
for(Prisoner p : j.getAllPrisoners()) {
//only execute this code if the prisoner's time is more than 0 milliseconds
if(p.getRemainingTime() > 0) {
Player player = pl.getServer().getPlayerExact(p.getName());
Player player = pl.getServer().getPlayer(p.getUUID());
//Check if the player is offline
if(player == null) {