Reworked BlockDamageEvent to match with the latest Mojang client/server changes.
By: Erik Broes <erikbroes@grum.nl>
This commit is contained in:
@@ -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;
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user