mirror of
https://github.com/IntellectualSites/PlotSquared.git
synced 2024-11-24 22:26:45 +01:00
Revert "Allow "Server" owner" as that has its own UUID
This reverts commit 9ba91889e0
.
This commit is contained in:
parent
9ba91889e0
commit
8f93f2b6d2
@ -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");
|
||||
}
|
||||
} else {
|
||||
PlotSquared.get().getImpromptuUUIDPipeline().getSingle(plot.getOwner(), (user, throwable) -> {
|
||||
if (throwable == null) {
|
||||
|
Loading…
Reference in New Issue
Block a user