mirror of
https://github.com/plexusorg/Plex-FAWE.git
synced 2024-12-24 02:07:39 +00:00
Removed old workaround from hmod
This commit is contained in:
parent
93fbad4d82
commit
a3186c2ce4
@ -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)) {
|
||||||
|
Loading…
Reference in New Issue
Block a user