mirror of
https://github.com/TotalFreedomMC/TF-EssentialsX.git
synced 2025-02-12 04:20:41 +00:00
Patch around broken bukkit method.
This commit is contained in:
parent
bb2b504d7a
commit
05ba5c00e6
1 changed files with 3 additions and 1 deletions
|
@ -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 a new issue