mirror of
https://github.com/IntellectualSites/PlotSquared.git
synced 2025-07-19 22:04:43 +02:00
Fixes
Fixes #556 Fixes #540 Fixed plot analysis being slow Fixed auto updating
This commit is contained in:
@ -229,7 +229,7 @@ public class SpongeMain implements IPlotMain, PluginContainer {
|
||||
server = game.getServer();
|
||||
//
|
||||
|
||||
PS.instance = new PS(this);
|
||||
PS.instance = new PS(this, "Sponge");
|
||||
|
||||
// TODO Until P^2 has json chat stuff for sponge, disable this
|
||||
Settings.FANCY_CHAT = false;
|
||||
|
@ -2,13 +2,8 @@ package com.plotsquared.sponge.object;
|
||||
|
||||
import java.util.Date;
|
||||
import java.util.HashSet;
|
||||
import java.util.Set;
|
||||
import java.util.UUID;
|
||||
|
||||
import org.spongepowered.api.data.key.Keys;
|
||||
import org.spongepowered.api.data.manipulator.mutable.TargetedLocationData;
|
||||
import org.spongepowered.api.data.manipulator.mutable.entity.GameModeData;
|
||||
import org.spongepowered.api.data.value.mutable.Value;
|
||||
import org.spongepowered.api.entity.player.Player;
|
||||
import org.spongepowered.api.entity.player.gamemode.GameMode;
|
||||
import org.spongepowered.api.entity.player.gamemode.GameModes;
|
||||
@ -96,7 +91,11 @@ public class SpongePlayer extends PlotPlayer {
|
||||
this.hasPerm.add(perm);
|
||||
return true;
|
||||
}
|
||||
return this.player.hasPermission(perm);
|
||||
boolean value = this.player.hasPermission(perm);
|
||||
|
||||
// TODO check children
|
||||
|
||||
return value;
|
||||
}
|
||||
|
||||
@Override
|
||||
|
Reference in New Issue
Block a user