mirror of
https://github.com/mcMMO-Dev/mcMMO.git
synced 2025-06-27 03:04:44 +02:00
This should make us fully NoCheat compatible.
This commit is contained in:
@ -75,11 +75,7 @@ public class WoodCutting
|
||||
|
||||
for(Block x : toBeFelled)
|
||||
{
|
||||
//Stupid NoCheat compatibility stuff
|
||||
PlayerAnimationEvent armswing = new PlayerAnimationEvent(player);
|
||||
Bukkit.getPluginManager().callEvent(armswing);
|
||||
|
||||
if(m.blockBreakSimulate(x, player))
|
||||
if(m.blockBreakSimulate(x, player, true))
|
||||
{
|
||||
if(x.getType() == Material.LOG)
|
||||
{
|
||||
|
Reference in New Issue
Block a user