mirror of
https://github.com/IntellectualSites/PlotSquared.git
synced 2024-11-29 16:46:45 +01:00
Forgot this
This commit is contained in:
parent
8191e5f625
commit
cdee23796b
@ -72,7 +72,6 @@ import com.intellectualcrafters.plot.util.Permissions;
|
|||||||
import com.intellectualcrafters.plot.util.StringMan;
|
import com.intellectualcrafters.plot.util.StringMan;
|
||||||
import com.intellectualcrafters.plot.util.TaskManager;
|
import com.intellectualcrafters.plot.util.TaskManager;
|
||||||
import com.intellectualcrafters.plot.util.UUIDHandler;
|
import com.intellectualcrafters.plot.util.UUIDHandler;
|
||||||
import com.plotsquared.bukkit.object.BukkitPlayer;
|
|
||||||
import com.plotsquared.listener.PlotListener;
|
import com.plotsquared.listener.PlotListener;
|
||||||
import com.plotsquared.sponge.SpongeMain;
|
import com.plotsquared.sponge.SpongeMain;
|
||||||
import com.plotsquared.sponge.object.SpongePlayer;
|
import com.plotsquared.sponge.object.SpongePlayer;
|
||||||
@ -836,7 +835,9 @@ public class MainListener {
|
|||||||
|
|
||||||
// TODO worldedit mask
|
// TODO worldedit mask
|
||||||
|
|
||||||
((BukkitPlayer) player).hasPerm = new HashSet<>();
|
if (Settings.PERMISSION_CACHING) {
|
||||||
((BukkitPlayer) player).noPerm = new HashSet<>();
|
((SpongePlayer) player).hasPerm = new HashSet<>();
|
||||||
|
((SpongePlayer) player).noPerm = new HashSet<>();
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -28,8 +28,8 @@ public class SpongePlayer extends PlotPlayer {
|
|||||||
private UUID uuid;
|
private UUID uuid;
|
||||||
private String name;
|
private String name;
|
||||||
private long last = 0;
|
private long last = 0;
|
||||||
private HashSet<String> hasPerm = new HashSet<>();
|
public HashSet<String> hasPerm = new HashSet<>();
|
||||||
private HashSet<String> noPerm = new HashSet<>();
|
public HashSet<String> noPerm = new HashSet<>();
|
||||||
|
|
||||||
public SpongePlayer(Player player) {
|
public SpongePlayer(Player player) {
|
||||||
this.player = player;
|
this.player = player;
|
||||||
|
Loading…
Reference in New Issue
Block a user