Added onBlockCanBuild to loader

This commit is contained in:
durron597
2011-01-01 01:55:04 -05:00
parent 5dfc7661ff
commit caad762403
2 changed files with 8 additions and 3 deletions

View File

@@ -14,8 +14,7 @@ import java.util.regex.Pattern;
import org.bukkit.Server;
import org.bukkit.event.Event;
import org.bukkit.event.Listener;
import org.bukkit.event.block.BlockListener;
import org.bukkit.event.block.BlockPhysicsEvent;
import org.bukkit.event.block.*;
import org.bukkit.event.player.*;
import org.bukkit.plugin.*;
@@ -112,6 +111,12 @@ public final class JavaPluginLoader implements PluginLoader {
case BLOCK_PHYSICS:
trueListener.onBlockPhysics((BlockPhysicsEvent)event);
break;
case BLOCK_CANBUILD:
trueListener.onBlockCanBuild((BlockCanBuildEvent)event);
break;
case BLOCK_FLOW:
trueListener.onBlockFlow((BlockFromToEvent)event);
break;
}
}
}