mirror of
https://github.com/IntellectualSites/PlotSquared.git
synced 2024-11-05 09:20:52 +01:00
compare UUID to UUID, not UUIDMapping
fix PS-182
This commit is contained in:
parent
6d71177394
commit
5e88cabb4b
@ -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 New Issue
Block a user