Patch around broken bukkit method.

This commit is contained in:
KHobbits 2011-08-10 11:36:09 +06:00
parent bb2b504d7a
commit 05ba5c00e6

View File

@ -98,7 +98,9 @@ public class Commandptime extends EssentialsCommand
{ {
final User user = users.iterator().next(); final User user = users.iterator().next();
if (user.isPlayerTimeRelative()) //Todo: Find out why this doesn't work?
// if (user.isPlayerTimeRelative())
if (user.getPlayerTimeOffset() == 0)
{ {
sender.sendMessage(colorDefault + user.getName() + "'s time is normal. Time is the same as on the server."); sender.sendMessage(colorDefault + user.getName() + "'s time is normal. Time is the same as on the server.");
} }