mirror of
https://github.com/EngineHub/WorldEdit.git
synced 2024-12-21 04:49:51 +08:00
Removed old workaround from hmod
This commit is contained in:
parent
93fbad4d82
commit
a3186c2ce4
@ -1087,11 +1087,6 @@ public boolean handleBlockLeftClick(LocalPlayer player, WorldVector clicked) {
|
||||
if (player.getItemInHand() == config.wandItem) {
|
||||
if (session.isToolControlEnabled()
|
||||
&& 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());
|
||||
if (selector.selectPrimary(clicked)) {
|
||||
|
Loading…
Reference in New Issue
Block a user