mirror of
https://github.com/plexusorg/Plex-FAWE.git
synced 2025-07-03 11:56:40 +00:00
Fix warnings
This commit is contained in:
@ -22,7 +22,6 @@ import com.sk89q.util.yaml.YAMLProcessor;
|
||||
import com.sk89q.worldedit.util.YAMLConfiguration;
|
||||
|
||||
import java.io.File;
|
||||
import java.util.logging.Logger;
|
||||
|
||||
/**
|
||||
* @author zml2008
|
||||
|
@ -34,7 +34,6 @@ import org.spout.api.entity.Entity;
|
||||
import org.spout.api.geo.discrete.Point;
|
||||
import org.spout.api.inventory.ItemStack;
|
||||
import org.spout.api.material.MaterialRegistry;
|
||||
import org.spout.api.material.source.MaterialData;
|
||||
import org.spout.api.player.Player;
|
||||
|
||||
public class SpoutPlayer extends LocalPlayer {
|
||||
|
@ -756,7 +756,7 @@ public class SpoutWorld extends LocalWorld {
|
||||
}
|
||||
|
||||
@Override
|
||||
public int killEntities(LocalEntity[] entities) {
|
||||
public int killEntities(LocalEntity... entities) {
|
||||
int amount = 0;
|
||||
for (LocalEntity weEnt : entities) {
|
||||
SpoutEntity entity = (SpoutEntity) weEnt;
|
||||
|
@ -40,7 +40,6 @@ import org.spout.api.util.Named;
|
||||
|
||||
import java.io.*;
|
||||
import java.util.jar.JarFile;
|
||||
import java.util.logging.Logger;
|
||||
import java.util.zip.ZipEntry;
|
||||
|
||||
/**
|
||||
@ -50,6 +49,8 @@ import java.util.zip.ZipEntry;
|
||||
*/
|
||||
public class WorldEditPlugin extends CommonPlugin implements Named {
|
||||
|
||||
private static final long serialVersionUID = 4506722000667924884L;
|
||||
|
||||
/**
|
||||
* The server interface that all server-related API goes through.
|
||||
*/
|
||||
|
Reference in New Issue
Block a user