More Red

More Red

13M Downloads

onItemUse mixin is missing important checks before calling getStateForPlacement

Commoble opened this issue ยท 0 comments

commented

A) need to check context.canPlace() first
B) should also call BlockItem::getBlockItemUseContext to transform the context if needed (after canPlace but before getStateForPlacement)

#9
McJtyMods/XNet#445