Fixed error on 1.12.2
This commit is contained in:
parent
6006e995b9
commit
0899205dcb
3 changed files with 3 additions and 3 deletions
|
@ -22,7 +22,7 @@
|
||||||
<attribute name="maven.pomderived" value="true"/>
|
<attribute name="maven.pomderived" value="true"/>
|
||||||
</attributes>
|
</attributes>
|
||||||
</classpathentry>
|
</classpathentry>
|
||||||
<classpathentry excluding="**" kind="src" output="target/classes" path="src">
|
<classpathentry excluding="**" kind="src" output="target/classes" path="src/main/resources">
|
||||||
<attributes>
|
<attributes>
|
||||||
<attribute name="maven.pomderived" value="true"/>
|
<attribute name="maven.pomderived" value="true"/>
|
||||||
</attributes>
|
</attributes>
|
||||||
|
|
2
pom.xml
2
pom.xml
|
@ -46,7 +46,7 @@
|
||||||
<dependency>
|
<dependency>
|
||||||
<groupId>org.bukkit</groupId>
|
<groupId>org.bukkit</groupId>
|
||||||
<artifactId>craftbukkit</artifactId>
|
<artifactId>craftbukkit</artifactId>
|
||||||
<version>1.12-R0.1-SNAPSHOT</version>
|
<version>1.12.2-R0.1-SNAPSHOT</version>
|
||||||
<scope>provided</scope>
|
<scope>provided</scope>
|
||||||
</dependency>
|
</dependency>
|
||||||
<dependency>
|
<dependency>
|
||||||
|
|
|
@ -35,7 +35,7 @@ public class Main extends JavaPlugin implements Listener
|
||||||
ExceptionWorldConflict
|
ExceptionWorldConflict
|
||||||
{
|
{
|
||||||
if (event.getWorld().getName().equals("world"))
|
if (event.getWorld().getName().equals("world"))
|
||||||
chunkRegionLoader.a(((CraftWorld) event.getWorld()).getHandle(),
|
chunkRegionLoader.saveChunk(((CraftWorld) event.getWorld()).getHandle(),
|
||||||
((CraftChunk) event.getChunk()).getHandle());
|
((CraftChunk) event.getChunk()).getHandle());
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue