From 8f93f2b6d2d669007d9e36ea69c7379e46b09177 Mon Sep 17 00:00:00 2001 From: dordsor21 Date: Thu, 10 Dec 2020 18:02:14 +0000 Subject: [PATCH] Revert "Allow "Server" owner" as that has its own UUID This reverts commit 9ba91889e0e1662164911cc9b89196a3cd244590. --- .../java/com/plotsquared/core/listener/PlotListener.java | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) diff --git a/Core/src/main/java/com/plotsquared/core/listener/PlotListener.java b/Core/src/main/java/com/plotsquared/core/listener/PlotListener.java index 1d5c1ecda..27a5b6c40 100644 --- a/Core/src/main/java/com/plotsquared/core/listener/PlotListener.java +++ b/Core/src/main/java/com/plotsquared/core/listener/PlotListener.java @@ -56,7 +56,6 @@ import com.plotsquared.core.plot.flag.implementations.HealFlag; import com.plotsquared.core.plot.flag.implementations.MusicFlag; import com.plotsquared.core.plot.flag.implementations.NotifyEnterFlag; import com.plotsquared.core.plot.flag.implementations.NotifyLeaveFlag; -import com.plotsquared.core.plot.flag.implementations.ServerPlotFlag; import com.plotsquared.core.plot.flag.implementations.TimeFlag; import com.plotsquared.core.plot.flag.implementations.TitlesFlag; import com.plotsquared.core.plot.flag.implementations.WeatherFlag; @@ -293,11 +292,7 @@ public class PlotListener { Templates.of("owner", user)); UUID uuid = plot.getOwner(); if (uuid == null) { - if (plot.getFlag(ServerPlotFlag.class)) { - userConsumer.accept("Server"); - } else { - userConsumer.accept("Unknown"); - } + userConsumer.accept("Unknown"); } else { PlotSquared.get().getImpromptuUUIDPipeline().getSingle(plot.getOwner(), (user, throwable) -> { if (throwable == null) {