Fix supply drops sometimes dropping beacons if players click too fast
This commit is contained in:
parent
99faf8bdd9
commit
1cdd6c0316
|
@ -102,6 +102,10 @@ public class SupplyDropManager extends MiniPlugin
|
|||
{
|
||||
return;
|
||||
}
|
||||
if (event.getClickedBlock().getType() != Material.CHEST)
|
||||
{
|
||||
return;
|
||||
}
|
||||
if (new BlockPosition(event.getClickedBlock()).equals(_active.getPosition()))
|
||||
{
|
||||
event.setCancelled(true);
|
||||
|
|
Loading…
Reference in New Issue