mirror of
https://github.com/PaperMC/Paper.git
synced 2025-01-05 18:27:17 +01:00
SPIGOT-6759: Chest#getInventory() no longer returns double chest inventories
By: blablubbabc <lukas@wirsindwir.de>
This commit is contained in:
parent
f9c1420daf
commit
02cdd23003
1 changed files with 1 additions and 1 deletions
|
@ -75,7 +75,7 @@ public class CraftBlockState implements BlockState {
|
|||
|
||||
protected final boolean isWorldGeneration() {
|
||||
GeneratorAccess generatorAccess = this.getWorldHandle();
|
||||
return generatorAccess != null && !(generatorAccess instanceof World);
|
||||
return generatorAccess != null && !(generatorAccess instanceof net.minecraft.world.level.World);
|
||||
}
|
||||
|
||||
protected final void ensureNoWorldGeneration() {
|
||||
|
|
Loading…
Reference in a new issue