diff --git a/src/com/sk89q/worldguard/bukkit/WorldGuardBlockListener.java b/src/com/sk89q/worldguard/bukkit/WorldGuardBlockListener.java index 74fcd835..371964ea 100644 --- a/src/com/sk89q/worldguard/bukkit/WorldGuardBlockListener.java +++ b/src/com/sk89q/worldguard/bukkit/WorldGuardBlockListener.java @@ -151,7 +151,7 @@ public void onBlockBreak(BlockBreakEvent event) { * Called when fluids flow. */ @Override - public void onBlockFlow(BlockFromToEvent event) { + public void onBlockFromTo(BlockFromToEvent event) { if (event.isCancelled()) { return; } diff --git a/src/com/sk89q/worldguard/bukkit/WorldGuardPlayerListener.java b/src/com/sk89q/worldguard/bukkit/WorldGuardPlayerListener.java index b02f9da3..a65ef32d 100644 --- a/src/com/sk89q/worldguard/bukkit/WorldGuardPlayerListener.java +++ b/src/com/sk89q/worldguard/bukkit/WorldGuardPlayerListener.java @@ -68,7 +68,7 @@ public void registerEvents() { * @param event Relevant event details */ @Override - public void onPlayerJoin(PlayerEvent event) { + public void onPlayerJoin(PlayerJoinEvent event) { Player player = event.getPlayer(); ConfigurationManager cfg = plugin.getGlobalConfiguration(); @@ -86,7 +86,7 @@ public void onPlayerJoin(PlayerEvent event) { * @param event Relevant event details */ @Override - public void onPlayerQuit(PlayerEvent event) { + public void onPlayerQuit(PlayerQuitEvent event) { Player player = event.getPlayer(); ConfigurationManager cfg = plugin.getGlobalConfiguration();