Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 5 additions & 5 deletions me/pwnage/bukkit/paid2mine/MineBL.java
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
package me.pwnage.bukkit.paid2mine;

import org.bukkit.block.Block;
import org.bukkit.event.block.BlockBreakEvent;
import org.bukkit.event.block.BlockListener;
import org.bukkit.event.EventHandler;
import org.bukkit.event.block.BlockPlaceEvent;
import org.bukkit.event.block.BlockBreakEvent;

public class MineBL extends BlockListener
{
Expand All @@ -13,8 +13,8 @@ public MineBL(Paid2Mine plugin)
{
this.plugin = plugin;
}

@Override
@EventHandler
public void onBlockBreak(BlockBreakEvent event)
{
if(event.isCancelled())
Expand Down Expand Up @@ -54,7 +54,7 @@ public void onBlockBreak(BlockBreakEvent event)
plugin.addToQueue(event.getPlayer().getName(), Double.valueOf(value));
}

@Override
@EventHandler
public void onBlockPlace(BlockPlaceEvent event)
{
BlockInfo bi = new BlockInfo(event.getPlayer().getName(), event.getBlockPlaced().getLocation());
Expand Down