Framed Compacting Drawers

Framed Compacting Drawers

8M Downloads

Game crash when place framed drawer

Synol14 opened this issue ยท 0 comments

commented

In a server in 1.20.1 (with modpack Seaopolis Submerged), when I place anywhere a framed drawer my client crash but not server. (Render issue)

In my client log :

[17:45:08] [Render thread/ERROR]: Unreported exception thrown!
java.lang.NullPointerException: Registry Object not present: storagedrawers:balance_fill_upgrade
	at java.util.Objects.requireNonNull(Objects.java:336) ~[?:?]
	at net.minecraftforge.registries.RegistryObject.get(RegistryObject.java:204) ~[forge-1.20.1-47.3.0-universal.jar%23519!/:?]
	at com.jaquadro.minecraft.storagedrawers.block.tile.tiledata.UpgradeData.syncUpgrades(UpgradeData.java:234) ~[StorageDrawers-1.20.1-12.6.4.jar%23475!/:1.20.1-12.6.4]
	at com.jaquadro.minecraft.storagedrawers.block.tile.tiledata.UpgradeData.setDrawerAttributes(UpgradeData.java:48) ~[StorageDrawers-1.20.1-12.6.4.jar%23475!/:1.20.1-12.6.4]
	at com.jaquadro.minecraft.storagedrawers.block.tile.BlockEntityDrawers.<init>(BlockEntityDrawers.java:197) ~[StorageDrawers-1.20.1-12.6.4.jar%23475!/:1.20.1-12.6.4]
	at com.jaquadro.minecraft.storagedrawers.block.tile.BlockEntityDrawersStandard.<init>(BlockEntityDrawersStandard.java:25) ~[StorageDrawers-1.20.1-12.6.4.jar%23475!/:1.20.1-12.6.4]
	at com.jaquadro.minecraft.storagedrawers.block.tile.BlockEntityDrawersStandard$Slot1.<init>(BlockEntityDrawersStandard.java:33) ~[StorageDrawers-1.20.1-12.6.4.jar%23475!/:1.20.1-12.6.4]
	at eutros.framedcompactdrawers.block.tile.TileDrawersStandardCustom$Slot1.<init>(TileDrawersStandardCustom.java:131) ~[framedcompactdrawers-1.20-6.0.1.jar%23393!/:1.20-6.0.1]
	at eutros.framedcompactdrawers.block.tile.TileDrawersStandardCustom.createEntity(TileDrawersStandardCustom.java:17) ~[framedcompactdrawers-1.20-6.0.1.jar%23393!/:1.20-6.0.1]
	at eutros.framedcompactdrawers.block.BlockDrawersStandardCustom.newBlockEntity(BlockDrawersStandardCustom.java:31) ~[framedcompactdrawers-1.20-6.0.1.jar%23393!/:1.20-6.0.1]
	at eutros.framedcompactdrawers.block.BlockDrawersStandardCustom.m_142194_(BlockDrawersStandardCustom.java:23) ~[framedcompactdrawers-1.20-6.0.1.jar%23393!/:1.20-6.0.1]
	at net.minecraft.world.level.chunk.LevelChunk.m_6978_(LevelChunk.java:263) ~[client-1.20.1-20230612.114412-srg.jar%23514!/:?]
	at net.minecraft.world.level.Level.m_6933_(Level.java:219) ~[client-1.20.1-20230612.114412-srg.jar%23514!/:?]
	at net.minecraft.client.multiplayer.ClientLevel.m_6933_(ClientLevel.java:159) ~[client-1.20.1-20230612.114412-srg.jar%23514!/:?]
	at net.minecraft.world.level.Level.m_7731_(Level.java:196) ~[client-1.20.1-20230612.114412-srg.jar%23514!/:?]
	at net.minecraft.world.item.BlockItem.m_7429_(BlockItem.java:163) ~[client-1.20.1-20230612.114412-srg.jar%23514!/:?]
	at net.minecraft.world.item.BlockItem.m_40576_(BlockItem.java:68) ~[client-1.20.1-20230612.114412-srg.jar%23514!/:?]
	at net.minecraft.world.item.BlockItem.m_6225_(BlockItem.java:46) ~[client-1.20.1-20230612.114412-srg.jar%23514!/:?]
	at net.minecraft.world.item.ItemStack.lambda$useOn$3(ItemStack.java:246) ~[client-1.20.1-20230612.114412-srg.jar%23514!/:?]
	at net.minecraft.world.item.ItemStack.onItemUse(ItemStack.java:261) ~[client-1.20.1-20230612.114412-srg.jar%23514!/:?]
	at net.minecraft.world.item.ItemStack.m_41661_(ItemStack.java:246) ~[client-1.20.1-20230612.114412-srg.jar%23514!/:?]
	at net.minecraft.client.multiplayer.MultiPlayerGameMode.m_233746_(MultiPlayerGameMode.java:339) ~[client-1.20.1-20230612.114412-srg.jar%23514!/:?]
	at net.minecraft.client.multiplayer.MultiPlayerGameMode.m_233740_(MultiPlayerGameMode.java:291) ~[client-1.20.1-20230612.114412-srg.jar%23514!/:?]
	at net.minecraft.client.multiplayer.MultiPlayerGameMode.m_233729_(MultiPlayerGameMode.java:250) ~[client-1.20.1-20230612.114412-srg.jar%23514!/:?]
	at net.minecraft.client.multiplayer.MultiPlayerGameMode.m_233732_(MultiPlayerGameMode.java:290) ~[client-1.20.1-20230612.114412-srg.jar%23514!/:?]
	at net.minecraft.client.Minecraft.m_91277_(Minecraft.java:1698) ~[client-1.20.1-20230612.114412-srg.jar%23514!/:?]
	at net.minecraft.client.Minecraft.m_91279_(Minecraft.java:1976) ~[client-1.20.1-20230612.114412-srg.jar%23514!/:?]
	at net.minecraft.client.Minecraft.m_91398_(Minecraft.java:1795) ~[client-1.20.1-20230612.114412-srg.jar%23514!/:?]
	at net.minecraft.client.Minecraft.m_91383_(Minecraft.java:1112) ~[client-1.20.1-20230612.114412-srg.jar%23514!/:?]
	at net.minecraft.client.Minecraft.m_91374_(Minecraft.java:718) ~[client-1.20.1-20230612.114412-srg.jar%23514!/:?]
	at net.minecraft.client.main.Main.main(Main.java:218) ~[forge-47.3.0.jar:?]
	at jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[?:?]
	at jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:77) ~[?:?]
	at jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[?:?]
	at java.lang.reflect.Method.invoke(Method.java:568) ~[?:?]
	at net.minecraftforge.fml.loading.targets.CommonLaunchHandler.runTarget(CommonLaunchHandler.java:111) ~[fmlloader-1.20.1-47.3.0.jar:?]
	at net.minecraftforge.fml.loading.targets.CommonLaunchHandler.clientService(CommonLaunchHandler.java:99) ~[fmlloader-1.20.1-47.3.0.jar:?]
	at net.minecraftforge.fml.loading.targets.CommonClientLaunchHandler.lambda$makeService$0(CommonClientLaunchHandler.java:25) ~[fmlloader-1.20.1-47.3.0.jar:?]
	at cpw.mods.modlauncher.LaunchServiceHandlerDecorator.launch(LaunchServiceHandlerDecorator.java:30) ~[modlauncher-10.0.9.jar:?]
	at cpw.mods.modlauncher.LaunchServiceHandler.launch(LaunchServiceHandler.java:53) ~[modlauncher-10.0.9.jar:?]
	at cpw.mods.modlauncher.LaunchServiceHandler.launch(LaunchServiceHandler.java:71) ~[modlauncher-10.0.9.jar:?]
	at cpw.mods.modlauncher.Launcher.run(Launcher.java:108) ~[modlauncher-10.0.9.jar:?]
	at cpw.mods.modlauncher.Launcher.main(Launcher.java:78) ~[modlauncher-10.0.9.jar:?]
	at cpw.mods.modlauncher.BootstrapLaunchConsumer.accept(BootstrapLaunchConsumer.java:26) ~[modlauncher-10.0.9.jar:?]
	at cpw.mods.modlauncher.BootstrapLaunchConsumer.accept(BootstrapLaunchConsumer.java:23) ~[modlauncher-10.0.9.jar:?]
	at cpw.mods.bootstraplauncher.BootstrapLauncher.main(BootstrapLauncher.java:141) ~[bootstraplauncher-1.1.2.jar:?]

In server console when I rejoin it with framed drawer items :

[18:00:34] [Server thread/INFO] [minecraft/MinecraftServer]: Synol_ joined the game
[18:00:35] [Netty Epoll Server IO #6/ERROR] [ne.mi.ne.si.IndexedMessageCodec/SIMPLENET]: Received invalid discriminator byte 1 on channel storagedrawers:main_channel
[18:00:35] [Netty Epoll Server IO #6/ERROR] [ne.mi.ne.si.IndexedMessageCodec/SIMPLENET]: Received invalid discriminator byte 1 on channel storagedrawers:main_channel