Remove deprecated spigotcore api usage #37
1
pom.xml
1
pom.xml
@ -32,6 +32,7 @@
|
|||||||
<configuration>
|
<configuration>
|
||||||
<source>1.8</source>
|
<source>1.8</source>
|
||||||
<target>1.8</target>
|
<target>1.8</target>
|
||||||
|
<compilerArgs>-Xlint</compilerArgs>
|
||||||
</configuration>
|
</configuration>
|
||||||
</plugin>
|
</plugin>
|
||||||
</plugins>
|
</plugins>
|
||||||
|
@ -21,7 +21,7 @@
|
|||||||
|
|
||||||
package de.steamwar.misslewars;
|
package de.steamwar.misslewars;
|
||||||
|
|
||||||
import de.steamwar.core.events.ChunkListener;
|
import de.steamwar.core.CraftbukkitWrapper;
|
||||||
import net.minecraft.server.v1_15_R1.Chunk;
|
import net.minecraft.server.v1_15_R1.Chunk;
|
||||||
import org.bukkit.Bukkit;
|
import org.bukkit.Bukkit;
|
||||||
import org.bukkit.World;
|
import org.bukkit.World;
|
||||||
@ -96,7 +96,7 @@ public class FightWorld {
|
|||||||
chunk.heightMap.clear();
|
chunk.heightMap.clear();
|
||||||
chunk.heightMap.putAll(backupChunk.heightMap);
|
chunk.heightMap.putAll(backupChunk.heightMap);
|
||||||
for(Player p : Bukkit.getOnlinePlayers()){
|
for(Player p : Bukkit.getOnlinePlayers()){
|
||||||
ChunkListener.sendChunk(p, x, z);
|
CraftbukkitWrapper.impl.sendChunk(p, x, z);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
In neuem Issue referenzieren
Einen Benutzer sperren