Cleanup code
This commit is contained in:
1 parent
a5ea5115f9
commit
af645ea2e4
1 file changed
+1
-1
+1
-1
@@ -278,7 +278,7 @@ public class RegionProtectionListener extends AbstractListener {
|
||||
what = "sleep";
|
||||
|
||||
/* Respawn Anchors */
|
||||
} else if(target.getBlock().getType() == Material.RESPAWN_ANCHOR) {
|
||||
} else if(type == Material.RESPAWN_ANCHOR) {
|
||||
canUse = query.testBuild(BukkitAdapter.adapt(target), associable, combine(event, Flags.INTERACT, Flags.RESPAWN_ANCHORS));
|
||||
what = "use anchors";
|
||||
|
||||
|
||||
Reference in new issue
Block a user