This should make us AntiCheat friendly.

This commit is contained in:
nossr50
2012-06-03 14:38:33 -07:00
parent 6637758ad0
commit e3e400f376
4 changed files with 24 additions and 7 deletions

View File

@ -12,4 +12,4 @@ public class FakeBlockBreakEvent extends BlockBreakEvent {
public FakeBlockBreakEvent(Block theBlock, Player player) {
super(theBlock, player);
}
}
}

View File

@ -0,0 +1,14 @@
package com.gmail.nossr50.events.fake;
import org.bukkit.block.Block;
import org.bukkit.entity.Player;
import org.bukkit.event.block.BlockDamageEvent;
import org.bukkit.inventory.ItemStack;
public class FakeBlockDamageEvent extends BlockDamageEvent {
public FakeBlockDamageEvent(Player player, Block block,
ItemStack itemInHand, boolean instaBreak) {
super(player, block, itemInHand, instaBreak);
}
}