v16.6 Compatibility with custom biomes that don't set a temperature
This commit is contained in:
parent
ac319f4e1c
commit
3043298640
2
pom.xml
2
pom.xml
|
|
@ -6,7 +6,7 @@
|
||||||
|
|
||||||
<groupId>me.ryanhamshire</groupId>
|
<groupId>me.ryanhamshire</groupId>
|
||||||
<artifactId>GriefPrevention</artifactId>
|
<artifactId>GriefPrevention</artifactId>
|
||||||
<version>16.5.1</version>
|
<version>16.6</version>
|
||||||
<properties>
|
<properties>
|
||||||
<maven.compiler.source>1.6</maven.compiler.source>
|
<maven.compiler.source>1.6</maven.compiler.source>
|
||||||
<maven.compiler.target>1.6</maven.compiler.target>
|
<maven.compiler.target>1.6</maven.compiler.target>
|
||||||
|
|
|
||||||
|
|
@ -3532,7 +3532,7 @@ public class GriefPrevention extends JavaPlugin
|
||||||
{
|
{
|
||||||
if(world.isChunkLoaded(chunkx, chunkz))
|
if(world.isChunkLoaded(chunkx, chunkz))
|
||||||
{
|
{
|
||||||
snapshots.add(world.getChunkAt(chunkx, chunkz).getChunkSnapshot(true, true, true));
|
snapshots.add(world.getChunkAt(chunkx, chunkz).getChunkSnapshot(true, true, false));
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue
Block a user