From 0899205dcb132566b736acbe45bf2231b9e94837 Mon Sep 17 00:00:00 2001 From: NorbiPeti Date: Mon, 30 Oct 2017 13:24:49 +0100 Subject: [PATCH] Fixed error on 1.12.2 --- .classpath | 2 +- pom.xml | 2 +- src/main/java/buttondevteam/ChunkArchive/Main.java | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/.classpath b/.classpath index 072d3d9..89a8c06 100644 --- a/.classpath +++ b/.classpath @@ -22,7 +22,7 @@ - + diff --git a/pom.xml b/pom.xml index 4418119..ebaf017 100644 --- a/pom.xml +++ b/pom.xml @@ -46,7 +46,7 @@ org.bukkit craftbukkit - 1.12-R0.1-SNAPSHOT + 1.12.2-R0.1-SNAPSHOT provided diff --git a/src/main/java/buttondevteam/ChunkArchive/Main.java b/src/main/java/buttondevteam/ChunkArchive/Main.java index 6d81faf..7ed3c87 100644 --- a/src/main/java/buttondevteam/ChunkArchive/Main.java +++ b/src/main/java/buttondevteam/ChunkArchive/Main.java @@ -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()); } }