summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorKHobbits <rob@khobbits.co.uk>2011-08-10 11:36:09 +0600
committerKHobbits <rob@khobbits.co.uk>2011-08-10 11:36:09 +0600
commit05ba5c00e6347a2a840dd652258ac7682e1dd608 (patch)
tree43b3246269702f83b3b8c962c0a6bdb3f3140d2b
parentbb2b504d7a8124dee685a062ae0224a204023996 (diff)
downloadEssentials-05ba5c00e6347a2a840dd652258ac7682e1dd608.tar
Essentials-05ba5c00e6347a2a840dd652258ac7682e1dd608.tar.gz
Essentials-05ba5c00e6347a2a840dd652258ac7682e1dd608.tar.lz
Essentials-05ba5c00e6347a2a840dd652258ac7682e1dd608.tar.xz
Essentials-05ba5c00e6347a2a840dd652258ac7682e1dd608.zip
Patch around broken bukkit method.
-rwxr-xr-xEssentials/src/com/earth2me/essentials/commands/Commandptime.java4
1 files changed, 3 insertions, 1 deletions
diff --git a/Essentials/src/com/earth2me/essentials/commands/Commandptime.java b/Essentials/src/com/earth2me/essentials/commands/Commandptime.java
index eb0f51c2f..ac230a61d 100755
--- a/Essentials/src/com/earth2me/essentials/commands/Commandptime.java
+++ b/Essentials/src/com/earth2me/essentials/commands/Commandptime.java
@@ -98,7 +98,9 @@ public class Commandptime extends EssentialsCommand
{
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.");
}