WorldGuard

WorldGuard

8M Downloads

Vines currently can grow so they are sitting on other blocks from inside the same block when growth is disabled.

LadyCailinBot opened this issue ยท 6 comments

commented

WORLDGUARD-3035 - Reported by me4502

I have included an image to show what I mean. In that image the vines were placed only on the back cracked stone brick wall. Vines do not grow normally, so that part of the vine growth option works, it just appears to be this that is failing.

After checking with the WorldEdit 'info' tool, it appears that the vines do indeed have different data values, so it should be easier to differentiate between them.

commented

Comment by wizjany

seems to be a bukkit issue? the event should still get thrown on the same block...will need to check their code, they probably do something stupid

edit: does it work if you outset the region a block around that hole?

commented

Comment by me4502

It's the global region that it's disabled in.

commented

Comment by wizjany

bukkit is being weirder than i thought then

nice, they don't handle the special case when it grows inside its own block
https://github.com/Bukkit/CraftBukkit-Bleeding/blob/master/src/main/java/net/minecraft/server/BlockVine.java#L240

commented

Comment by me4502

Bukkit issue: https://bukkit.atlassian.net/browse/BUKKIT-4384

commented

Comment by wizjany

there's a second case in which vines spread without throwing the event: https://github.com/Bukkit/CraftBukkit/blob/18d329e27525083b6bfc021796b7d73c641d64d7/src/main/java/net/minecraft/server/BlockVine.java#L257
i ''think'' this happens when a vine grows downward into another vine block but on a different block face

commented

Comment by me4502

I just added to the issue