Fixed error on 1.12.2

This commit is contained in:
Norbi Peti 2017-10-30 13:24:49 +01:00
parent 6006e995b9
commit 0899205dcb
3 changed files with 3 additions and 3 deletions

View file

@ -22,7 +22,7 @@
<attribute name="maven.pomderived" value="true"/>
</attributes>
</classpathentry>
<classpathentry excluding="**" kind="src" output="target/classes" path="src">
<classpathentry excluding="**" kind="src" output="target/classes" path="src/main/resources">
<attributes>
<attribute name="maven.pomderived" value="true"/>
</attributes>

View file

@ -46,7 +46,7 @@
<dependency>
<groupId>org.bukkit</groupId>
<artifactId>craftbukkit</artifactId>
<version>1.12-R0.1-SNAPSHOT</version>
<version>1.12.2-R0.1-SNAPSHOT</version>
<scope>provided</scope>
</dependency>
<dependency>

View file

@ -35,7 +35,7 @@ public class Main extends JavaPlugin implements Listener
ExceptionWorldConflict
{
if (event.getWorld().getName().equals("world"))
chunkRegionLoader.a(((CraftWorld) event.getWorld()).getHandle(),
chunkRegionLoader.saveChunk(((CraftWorld) event.getWorld()).getHandle(),
((CraftChunk) event.getChunk()).getHandle());
}
}