mirror of
https://hub.spigotmc.org/stash/scm/spigot/craftbukkit.git
synced 2025-08-21 05:44:33 +00:00
SPIGOT-6759: Chest#getInventory() no longer returns double chest inventories
This commit is contained in:
parent
11c9299fbb
commit
fee3152be1
1 changed files with 1 additions and 1 deletions
|
@ -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…
Add table
Reference in a new issue