Post 1.17 cherry pick compile fix

This commit is contained in:
modmuss50 2021-02-14 17:59:15 +00:00
parent 427fb25ae7
commit 5356521177

View file

@ -77,7 +77,7 @@ public final class ClientNetworking implements ClientModInitializer {
PlayerEntity player = client.player;
Screen screen = screenFactory.create(
((ExtendedScreenHandlerType<?>) type).create(syncId, player.inventory, buf),
((ExtendedScreenHandlerType<?>) type).create(syncId, player.getInventory(), buf),
player.getInventory(),
title
);