From 232052b7d24c14d0fa9089cbc8c16e6435779998 Mon Sep 17 00:00:00 2001 From: Iaccidentally Date: Mon, 14 Jan 2013 18:18:24 -0500 Subject: More Cleanup :: add TODO comments --- .../src/net/ess3/antibuild/EssentialsAntiBuildListener.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'EssentialsAntiBuild') diff --git a/EssentialsAntiBuild/src/net/ess3/antibuild/EssentialsAntiBuildListener.java b/EssentialsAntiBuild/src/net/ess3/antibuild/EssentialsAntiBuildListener.java index 76248ca6e..52d34c47a 100644 --- a/EssentialsAntiBuild/src/net/ess3/antibuild/EssentialsAntiBuildListener.java +++ b/EssentialsAntiBuild/src/net/ess3/antibuild/EssentialsAntiBuildListener.java @@ -40,7 +40,7 @@ public class EssentialsAntiBuildListener implements Listener { final Player user = event.getPlayer(); final Block block = event.getBlockPlaced(); - //final int typeId = block.getTypeId(); unused? + final int typeId = block.getTypeId(); //TODO: unused? final Material type = block.getType(); if (antib.getSettings().getData().isDisableBuild() && !Permissions.BUILD.isAuthorized(user) && !Permissions.PLACEMENT.isAuthorized(user, block)) @@ -74,7 +74,7 @@ public class EssentialsAntiBuildListener implements Listener { final Player user = event.getPlayer(); final Block block = event.getBlock(); - //final int typeId = block.getTypeId(); unused? + final int typeId = block.getTypeId(); //TODO: unused? final Material type = block.getType(); if (antib.getSettings().getData().isDisableBuild() && !Permissions.BUILD.isAuthorized(user) && !Permissions.BREAK.isAuthorized(user, block)) -- cgit v1.2.3