amadornes / MCMultiPart

A universal multipart API for Modern Minecraft
Other
67 stars 23 forks source link

ItemBlock#onItemUse called before Block#onBlockActivated #77

Closed raoulvdberge closed 7 years ago

raoulvdberge commented 7 years ago

From IRC:

<raoulvdberge> so, for blocks that use the stack wrapper (probably incorrect but you get my point), if you use them, ItemBlock#onItemUse is called BEFORE Block#onBlockActivated
<raoulvdberge> so if you left click a RS cable on a grid for example, it will place the cable instead of opening the grid gui

On MCMP 2.

2xsaiko commented 7 years ago

Duplicate of https://github.com/amadornes/MCMultiPart/issues/73 I think. Looks like the same issue

raoulvdberge commented 7 years ago

Whoops, I'm an idiot.