SlimeVoid / LittleBlocks-FML

LittleBlocks for FML
http://www.slimevoid.net/LittleBlocks
GNU Lesser General Public License v3.0
18 stars 13 forks source link

LB wand will remove doors #31

Closed Tarig0 closed 11 years ago

Tarig0 commented 11 years ago

Noticed this when creating a world guard. When a user uses the LB wand on the block supporting a door it will delete the door.

Might effect other partial blocks like fences and gates

Eurymachus commented 11 years ago

A door needs a solid block beneath it to be a valid location. The 'canBlockStay' method checks this on neighbor change. A LittleBlock chunk is not a solid block thus the door pops off :)

Tarig0 commented 11 years ago

This is the supporting block as in ] ] lb B -> B

where door is on B user right clicks on B and the Door dissapers while the block above B is now an LB chunk

On Tue, May 14, 2013 at 11:28 AM, Greg Jones notifications@github.comwrote:

A door needs a solid block beneath it to be a valid location. The 'canBlockStay' method checks this on neighbor change. A LittleBlock chunk is not a solid block thus the door pops off :)

— Reply to this email directly or view it on GitHubhttps://github.com/SlimeVoid/LittleBlocks-FML/issues/31#issuecomment-17883489 .

Eurymachus commented 11 years ago

Will see if I can replicate what you're talking about.

Tarig0 commented 11 years ago

oo the door doesn't pop off it is removed without spawning the item

Eurymachus commented 11 years ago

5e225c4bca0118c4938108477a773489e77abd9a