mirror of
https://github.com/IntellectualSites/PlotSquared.git
synced 2024-11-25 12:25:46 +01:00
Fix nms chunk reference
This commit is contained in:
parent
b8c9ae2b0b
commit
252d6a2866
@ -100,7 +100,7 @@ public class ChunkListener implements Listener {
|
||||
this.mustSave = classChunk.getField("mustNotSave");
|
||||
}
|
||||
} else {
|
||||
RefClass classChunk = getRefClass("net.minecraft.world.level.chunk");
|
||||
RefClass classChunk = getRefClass("net.minecraft.world.level.chunk.Chunk");
|
||||
this.mustSave = classChunk.getField("mustNotSave");
|
||||
}
|
||||
} catch (NoSuchFieldException e) {
|
||||
|
Loading…
Reference in New Issue
Block a user