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

This commit is contained in:
Erik Broes
2011-03-23 16:53:52 +01:00
parent 49976e8ef3
commit 75ce030c57
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;
}
}