From 0022835ee21cf2f9417723eb636d8b692a6a683a Mon Sep 17 00:00:00 2001 From: Dinnerbone Date: Sat, 1 Jan 2011 07:24:50 +0000 Subject: [PATCH] Fixed sample plugin --- sample/src/com/dinnerbone/bukkit/sample/SamplePlugin.java | 1 + 1 file changed, 1 insertion(+) diff --git a/sample/src/com/dinnerbone/bukkit/sample/SamplePlugin.java b/sample/src/com/dinnerbone/bukkit/sample/SamplePlugin.java index 69b84af4..4d0de3d4 100644 --- a/sample/src/com/dinnerbone/bukkit/sample/SamplePlugin.java +++ b/sample/src/com/dinnerbone/bukkit/sample/SamplePlugin.java @@ -41,6 +41,7 @@ public class SamplePlugin extends JavaPlugin { getServer().getPluginManager().registerEvent(Event.Type.PLAYER_COMMAND, playerListener, Priority.Normal, this); getServer().getPluginManager().registerEvent(Event.Type.PLAYER_MOVE, playerListener, Priority.Normal, this); getServer().getPluginManager().registerEvent(Event.Type.BLOCK_PHYSICS, blockListener, Priority.Normal, this); + getServer().getPluginManager().registerEvent(Event.Type.BLOCK_CANBUILD, blockListener, Priority.Normal, this); } public boolean isDebugging(final Player player) {