Patch BlockEntity.java to use getType Method (#10124)

This commit is contained in:
Joseph T. McQuigg authored and GitHub committed 2024-10-10 09:56:17 -07:00
1 parent c3ee633897
commit b8105ca5a6
1 file changed
+9
@@ -22,6 +22,15 @@
}
private void validateBlockState(BlockState p_345558_) {
@@ -51,7 +_,7 @@
}
public boolean isValidBlockState(BlockState p_345570_) {
- return this.type.isValid(p_345570_);
+ return this.getType().isValid(p_345570_);
}
public static BlockPos getPosFromTag(CompoundTag p_187473_) {
@@ -72,6 +_,7 @@
}