|
This is an int rounding issue at negative coordinates. You can see it here:
https://hub.spigotmc.org/stash/projects/SPIGOT/repos/craftbukkit/browse/src/main/java/org/bukkit/craftbukkit/command/CraftBlockCommandSender.java#26
This is because CommandListenerWrapper.getPosition() returns a centered position, not a block position. You can see that being defined in n.m.s.TileEntityCommand.
—
Due to the simple logic nature of the issue, I didn't include reproduction code. If you wish for me to still include reproduction code for these, let me know.
|