mirror of
https://github.com/TotalFreedomMC/TF-PlotSquared.git
synced 2024-12-23 00:15:06 +00:00
compare UUID to UUID, not UUIDMapping
fix PS-182
This commit is contained in:
parent
6d71177394
commit
5e88cabb4b
1 changed files with 1 additions and 1 deletions
|
@ -95,7 +95,7 @@ public class Deny extends SubCommand {
|
||||||
}
|
}
|
||||||
plot.addDenied(uuidMapping.getUuid());
|
plot.addDenied(uuidMapping.getUuid());
|
||||||
PlotSquared.get().getEventDispatcher().callDenied(player, plot, uuidMapping.getUuid(), true);
|
PlotSquared.get().getEventDispatcher().callDenied(player, plot, uuidMapping.getUuid(), true);
|
||||||
if (!uuidMapping.equals(DBFunc.EVERYONE)) {
|
if (!uuidMapping.getUuid().equals(DBFunc.EVERYONE)) {
|
||||||
handleKick(PlotSquared.imp().getPlayerManager().getPlayerIfExists(uuidMapping.getUuid()), plot);
|
handleKick(PlotSquared.imp().getPlayerManager().getPlayerIfExists(uuidMapping.getUuid()), plot);
|
||||||
} else {
|
} else {
|
||||||
for (PlotPlayer plotPlayer : plot.getPlayersInPlot()) {
|
for (PlotPlayer plotPlayer : plot.getPlayersInPlot()) {
|
||||||
|
|
Loading…
Reference in a new issue