Fix ClassCastExeption

This commit is contained in:
Motschen
2021-01-23 19:58:36 +01:00
parent 792e81f4ca
commit c2306d7fa6
3 changed files with 16 additions and 12 deletions

View File

@@ -58,6 +58,7 @@ public class VisualOverhaulClient implements ClientModInitializer {
}
});
ClientSidePacketRegistryImpl.INSTANCE.register(UPDATE_POTION_BOTTLES,
(packetContext, attachedData) -> {
BlockPos pos = attachedData.readBlockPos();