1
0
mirror of https://github.com/essentials/Essentials.git synced 2025-08-13 10:04:51 +02:00

Added [Time] Sign

This commit is contained in:
Wundark
2011-06-06 17:17:53 +08:00
committed by snowleo
parent 6adcce7d9b
commit 53d4f8cd91

View File

@@ -156,6 +156,14 @@ public class EssentialsBlockListener extends BlockListener
} }
return; 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) catch (Throwable ex)
{ {