mirror of
https://github.com/TotalFreedomMC/TotalFreedomMod.git
synced 2025-07-23 14:13:32 +00:00
Important bugfix
It appears someone had an extremely big brain moment.
This commit is contained in:
parent
4d469cdc0a
commit
74a71b1843
1 changed files with 2 additions and 1 deletions
|
@ -283,7 +283,6 @@ public class CoreProtectBridge extends FreedomService
|
|||
if (block != null)
|
||||
{
|
||||
event.setCancelled(true);
|
||||
List<String[]> lookup = coreProtect.blockLookup(block, -1);
|
||||
|
||||
int cooldownTime = 3;
|
||||
|
||||
|
@ -298,6 +297,8 @@ public class CoreProtectBridge extends FreedomService
|
|||
}
|
||||
}
|
||||
|
||||
List<String[]> lookup = coreProtect.blockLookup(block, -1);
|
||||
|
||||
if (!plugin.al.isAdmin(player))
|
||||
{
|
||||
cooldown.put(player.getName(), System.currentTimeMillis());
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue