Now I feel silly...
@@ -182,7 +182,7 @@ public EnumActionResult processRightClickBlock(EntityPlayer player, World worldI
if (tileEntity != null && this.player.openContainer instanceof ContainerPlayer && (eventData == null || !eventData.getForgeEvent().isCanceled())) {
this.player.closeScreen();
}
- SpongeCommonEventFactory.interactBlockEventCancelled = true;
+ SpongeCommonEventFactory.interactBlockRightClickEventCancelled = true;
return EnumActionResult.FAIL;
}
