From 40bf65d56af2cb3f693bdf9a74206727cdd73457 Mon Sep 17 00:00:00 2001 From: sk89q Date: Fri, 1 Apr 2011 17:51:33 -0700 Subject: [PATCH] Updated for latest Bukkit. --- src/com/sk89q/worldguard/bukkit/WorldGuardBlockListener.java | 2 +- src/com/sk89q/worldguard/bukkit/WorldGuardPlayerListener.java | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) 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();