Fix ToolBelt illegal access wtf

This commit is contained in:
IzzelAliz 2020-10-30 23:21:31 +08:00
parent 5ee2cfaad6
commit 0b240123e2

View File

@ -68,7 +68,7 @@ public abstract class WorkbenchContainerMixin extends ContainerMixin implements
* @reason * @reason
*/ */
@Overwrite @Overwrite
protected static void updateCraftingResult(int i, World world, PlayerEntity playerEntity, CraftingInventory inventory, CraftResultInventory resultInventory) { public static void updateCraftingResult(int i, World world, PlayerEntity playerEntity, CraftingInventory inventory, CraftResultInventory resultInventory) {
Container container = ArclightCaptures.getWorkbenchContainer(); Container container = ArclightCaptures.getWorkbenchContainer();
if (!world.isRemote) { if (!world.isRemote) {
ServerPlayerEntity serverplayerentity = (ServerPlayerEntity) playerEntity; ServerPlayerEntity serverplayerentity = (ServerPlayerEntity) playerEntity;