Updated for latest Bukkit.

This commit is contained in:
sk89q 2011-04-01 17:51:33 -07:00
parent 726e3a5c20
commit 40bf65d56a
2 changed files with 3 additions and 3 deletions

View File

@ -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;
}

View File

@ -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();