mirror of
https://github.com/EssentialsX/Essentials.git
synced 2024-12-25 18:48:24 +01:00
Patch around broken bukkit method.
This commit is contained in:
parent
bb2b504d7a
commit
05ba5c00e6
@ -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.");
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user