SPIGOT-6759: Chest#getInventory() no longer returns double chest inventories
This commit is contained in:
parent
11c9299fbb
commit
fee3152be1
@ -75,7 +75,7 @@ public class CraftBlockState implements BlockState {
|
|||||||
|
|
||||||
protected final boolean isWorldGeneration() {
|
protected final boolean isWorldGeneration() {
|
||||||
GeneratorAccess generatorAccess = this.getWorldHandle();
|
GeneratorAccess generatorAccess = this.getWorldHandle();
|
||||||
return generatorAccess != null && !(generatorAccess instanceof World);
|
return generatorAccess != null && !(generatorAccess instanceof net.minecraft.world.level.World);
|
||||||
}
|
}
|
||||||
|
|
||||||
protected final void ensureNoWorldGeneration() {
|
protected final void ensureNoWorldGeneration() {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user