Ships

Ships

123k Downloads

A bug in block detection

ThatPerkel opened this issue ยท 4 comments

commented

Describe the bug
When I was messing around with our vehicles, I've noticed a strange behaviour of our ship when detecting blocks. I wasn't sure if I can describe it, so I'm attaching a WE schematic of our plane. In it's cockpit, there is a hole in the ceiling - in this state, the ship is detecting 5 blocks. But when you seal it, it can correctly detect the whole ship.

Using latest release and Paper-297 (MC: 1.17.1).
buggedplane.zip

commented

Finally got around to looking at your ship.

There isnt a bug here, you have made a assumption that blocks are connected when they arn't. By filling that gap, you connect those 5 blocks to the rest of the ship. Hope that helps

commented

Whats the block detection algorithm your using?

commented

Sorry, forgot to mention. six_async.

commented

Ok. When i get a sec. Ill take a look