mirror of
https://github.com/mcMMO-Dev/mcMMO.git
synced 2024-11-26 07:06:45 +01:00
Trying to fix a new duping bug.
This commit is contained in:
parent
52f7120392
commit
139812b3bc
@ -298,14 +298,6 @@ public class BlockListener implements Listener {
|
||||
Block block = event.getBlock();
|
||||
Material material = block.getType();
|
||||
|
||||
FakeBlockBreakEvent fakeEvent = new FakeBlockBreakEvent(block, player);
|
||||
mcMMO.p.getServer().getPluginManager().callEvent(fakeEvent);
|
||||
|
||||
if(fakeEvent.isCancelled())
|
||||
return;
|
||||
else
|
||||
fakeEvent.setCancelled(true);
|
||||
|
||||
Config configInstance = Config.getInstance();
|
||||
Permissions permInstance = Permissions.getInstance();
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user