Parent Directory | Revision Log | Patch
revision 1196 by torben, Sat Nov 20 08:59:03 2010 UTC | revision 1200 by torben, Wed Dec 1 08:53:44 2010 UTC | |
---|---|---|
# | Line 19 public class AdminDestroy extends Plugi | Line 19 public class AdminDestroy extends Plugi |
19 | ||
20 | @Override | @Override |
21 | public boolean onBlockDestroy(Player player, Block block) { | public boolean onBlockDestroy(Player player, Block block) { |
22 | if (player.isAdmin() && adminDestroyers.contains(player.getName() ) ) { | if (adminDestroyers.contains(player.getName() ) ) { |
23 | if (player.getItemInHand() == HAND_EMPTY) { | if (player.getItemInHand() == HAND_EMPTY) { |
24 | ||
25 | int oldType = block.getType(); | int oldType = block.getType(); |
|
ViewVC Help | |
Powered by ViewVC 1.1.20 |