mirror of
https://gitlab.com/phoenix-dvpmt/mmocore.git
synced 2024-11-24 00:15:16 +01:00
Push build
This commit is contained in:
parent
187587a0d4
commit
7b7c60b3ec
@ -42,7 +42,7 @@ public class BlockListener implements Listener {
|
|||||||
boolean customMine = MMOCore.plugin.mineManager.isEnabled(player, block.getLocation());
|
boolean customMine = MMOCore.plugin.mineManager.isEnabled(player, block.getLocation());
|
||||||
if (!customMine)
|
if (!customMine)
|
||||||
return;
|
return;
|
||||||
|
|
||||||
BlockInfo info = MMOCore.plugin.mineManager.getInfo(block);
|
BlockInfo info = MMOCore.plugin.mineManager.getInfo(block);
|
||||||
if (info == null) {
|
if (info == null) {
|
||||||
event.setCancelled(true);
|
event.setCancelled(true);
|
||||||
|
Loading…
Reference in New Issue
Block a user