Fix errors *again

This commit is contained in:
boy0001
2015-07-27 19:14:28 +10:00
parent 58ebf9d232
commit dce25ba07a
16 changed files with 22 additions and 21 deletions

View File

@ -92,7 +92,7 @@ public class ClassicPlotMeConnector extends APlotMeConnector {
setMerged(merges, world, id, 0);
}
}
UUID owner = UUIDHandler.getUUID(name);
UUID owner = UUIDHandler.getUUID(name, null);
if (owner == null) {
if (name.equals("*")) {
owner = DBFunc.everyone;
@ -149,7 +149,7 @@ public class ClassicPlotMeConnector extends APlotMeConnector {
final PlotId id = new PlotId(r.getInt("idX"), r.getInt("idZ"));
final String name = r.getString("player");
final String world = LikePlotMeConverter.getWorld(r.getString("world"));
UUID denied = UUIDHandler.getUUID(name);
UUID denied = UUIDHandler.getUUID(name, null);
if (denied == null) {
if (name.equals("*")) {
denied = DBFunc.everyone;
@ -170,7 +170,7 @@ public class ClassicPlotMeConnector extends APlotMeConnector {
final PlotId id = new PlotId(r.getInt("idX"), r.getInt("idZ"));
final String name = r.getString("player");
final String world = LikePlotMeConverter.getWorld(r.getString("world"));
UUID helper = UUIDHandler.getUUID(name);
UUID helper = UUIDHandler.getUUID(name, null);
if (helper == null) {
if (name.equals("*")) {
helper = DBFunc.everyone;

View File

@ -94,7 +94,7 @@ public class PlotMeConnector_017 extends APlotMeConnector {
setMerged(merges, world, id, 0);
}
}
UUID owner = UUIDHandler.getUUID(name);
UUID owner = UUIDHandler.getUUID(name, null);
if (owner == null) {
if (name.equals("*")) {
owner = DBFunc.everyone;

View File

@ -36,6 +36,7 @@ import com.intellectualcrafters.plot.util.InventoryUtil;
import com.intellectualcrafters.plot.util.PlayerManager;
import com.intellectualcrafters.plot.util.TaskManager;
import com.intellectualcrafters.plot.util.UUIDHandler;
import com.intellectualcrafters.plot.util.UUIDHandlerImplementation;
import com.intellectualcrafters.plot.uuid.UUIDWrapper;
import com.plotsquared.bukkit.listeners.APlotListener;
import com.plotsquared.bukkit.util.SetupUtils;
@ -279,7 +280,7 @@ public class SpongeMain implements IPlotMain, PluginContainer {
}
@Override
public UUIDWrapper initUUIDHandler() {
public UUIDHandlerImplementation initUUIDHandler() {
// TODO Auto-generated method stub
return null;
}