Removed old workaround from hmod

This commit is contained in:
zml2008 2011-08-29 14:16:20 -07:00
parent 93fbad4d82
commit a3186c2ce4

View File

@ -1087,11 +1087,6 @@ public class WorldEdit {
if (player.getItemInHand() == config.wandItem) { if (player.getItemInHand() == config.wandItem) {
if (session.isToolControlEnabled() if (session.isToolControlEnabled()
&& player.hasPermission("worldedit.selection.pos")) { && player.hasPermission("worldedit.selection.pos")) {
// Bug workaround
if (clicked.getBlockX() == 0 && clicked.getBlockY() == 0
&& clicked.getBlockZ() == 0) {
return false;
}
RegionSelector selector = session.getRegionSelector(player.getWorld()); RegionSelector selector = session.getRegionSelector(player.getWorld());
if (selector.selectPrimary(clicked)) { if (selector.selectPrimary(clicked)) {