mirror of
https://github.com/MinecraftForge/MinecraftForge.git
synced 2026-11-12 16:27:47 +00:00
Patch BlockEntity.java to use getType Method (#10124)
This commit is contained in:
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 @@
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user