mirror of
https://github.com/TotalFreedomMC/TotalFreedomMod.git
synced 2024-05-17 01:51:24 +00:00
Merge pull request #156 from AtlasMediaGroup/critical-inspect-bugfix
Critical Bugfix
This commit is contained in:
commit
a728ec24d4
|
@ -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…
Reference in a new issue