WorldEdit

WorldEdit

42M Downloads

use-inventory does not handle data values correctly, creative-mode-overrides is useless

LadyCailinBot opened this issue ยท 1 comments

commented

WORLDEDIT-3522 - Reported by blindcat97

I am running a private survival server, and while attempting to use WorldEdit with use-inventory enabled, the basic functions work fine, but it handles any data value other than the default 0 very poorly.

For instance, if I try to set a 1x1 region to wood:5, it will show a message error stating that I am missing blocks, no matter if I am in creative mode or if I have several entire stacks of dark oak planks. However, if I grab the necessary amount of regular oak planks, performing the same operation will work, and remove the oak planks from my inventory rather than the dark oak. Removing any variety of planks, via cut or set 0, will always give me that number of regular wood planks. This exact same problem applies to absolutely any block that uses data values for variants, such as stone, wool, clay and hardened clay, carpet, glass, and so on. There are absolutely no errors displayed in the console.

Enabling creative-mode-overrides does not change anything, and seems to be entirely dysfunctional.

I have created an entirely new server running an identical version of Spigot and WorldEdit, with absolutely no other plugins installed, in order to rule out a conflict or error carried over from an older version. Neither that, nor any combination of settings within WorldEdit config or even the main server properties seems to change it. This problem is currently present in the latest build of Spigot for 1.11, using WorldEdit build #3646, but the problem has been present since I first attempted to enable use-inventory at the launch of 1.10.

If any more information is needed, I will be glad to provide it. Additionally, I apologise if I have mis-categorised this issue. I've never used YouTrack before.

commented

Comment by wizjany

WORLDEDIT-2590 WORLDEDIT-3293 probably a whole lot more.

short of the matter is that use-inventory was written before bukkit or data values were a thing, and it's unlikely to be fixed because it wasn't the intended use of worldedit to begin with.