Reworked BlockDamageEvent to match with the latest Mojang client/server changes.

By: Erik Broes <erikbroes@grum.nl>
This commit is contained in:
Bukkit/Spigot
2011-03-23 16:53:52 +01:00
parent 7824cc02e7
commit 1a8031fc8f
2 changed files with 28 additions and 24 deletions

View File

@@ -1,15 +0,0 @@
package org.bukkit.block;
public enum BlockDamageLevel {
STARTED(0), DIGGING(1), BROKEN(3), STOPPED(2);
private int level;
private BlockDamageLevel(final int level) {
this.level = level;
}
public int getLevel() {
return level;
}
}