U Team Core

U Team Core

38M Downloads

[1.19.2] Fix sync methods in UBlockEntity

HyCraftHD opened this issue ยท 1 comments

commented

Fix TODOs. They do not work in extreme cobble generator.

Stacktrace:

java.lang.NullPointerException: Cannot invoke "net.minecraft.nbt.CompoundTag.getBoolean(String)" because "tag" is null
	at info.u_team.extreme_cobble_generator.blockentity.CobbleGeneratorBlockEntity.handleUpdateStateData(CobbleGeneratorBlockEntity.java:261) ~[%23188!/:?] {re:classloading}
	at info.u_team.u_team_core.blockentity.UBlockEntity.onDataPacket(UBlockEntity.java:101) ~[u_team_core-1.19.2-4.3.1.231_mapped_parchment_2022.09.04-1.19.2.jar%23190!/:4.3.1.231] {re:classloading}

// TODO save methods have changed. Some parts here might not work, Wait for some forge changes!

commented

Fixed with this commit fd398ce