mirror of
https://github.com/IntellectualSites/PlotSquared.git
synced 2025-07-04 14:44:43 +02:00
Add server-plot flag, and option to disable on-claim teleportation
This commit is contained in:
Bukkit/src/main/java/com/github/intellectualsites/plotsquared/bukkit
Core/src/main/java/com/github/intellectualsites/plotsquared/plot
commands
config
database
flag
listener
object
util
Nukkit/src/main/java/com/github/intellectualsites/plotsquared/nukkit/listeners
@ -90,7 +90,7 @@ public class PlayerEvents extends PlotListener implements Listener {
|
||||
return;
|
||||
}
|
||||
if (Settings.Redstone.DISABLE_OFFLINE) {
|
||||
if (UUIDHandler.getPlayer(plot.owner) == null) {
|
||||
if (UUIDHandler.getPlayer(plot.getOwner()) == null) {
|
||||
boolean disable = true;
|
||||
for (UUID trusted : plot.getTrusted()) {
|
||||
if (UUIDHandler.getPlayer(trusted) != null) {
|
||||
|
Reference in New Issue
Block a user