mirror of
https://github.com/TotalFreedomMC/TF-EssentialsX.git
synced 2025-02-11 20:00:46 +00:00
Added [Time] Sign
This commit is contained in:
parent
bc8aa0c77a
commit
5c258c03dc
1 changed files with 8 additions and 0 deletions
|
@ -156,6 +156,14 @@ public class EssentialsBlockListener extends BlockListener
|
|||
}
|
||||
return;
|
||||
}
|
||||
if (event.getLine(0).equalsIgnoreCase("[Time]"))
|
||||
{
|
||||
if (user.isAuthorized("essentials.signs.time.create"))
|
||||
event.setLine(0, "§1[Time]");
|
||||
else
|
||||
event.setLine(0, "§4[Time]");
|
||||
return;
|
||||
}
|
||||
}
|
||||
catch (Throwable ex)
|
||||
{
|
||||
|
|
Loading…
Reference in a new issue