mirror of
https://github.com/IntellectualSites/PlotSquared.git
synced 2024-11-26 07:06:44 +01:00
Fixes #1102
This commit is contained in:
parent
75c7fe969c
commit
7873bcf592
@ -131,9 +131,8 @@ public class PlotPlusListener extends PlotListener implements Listener {
|
|||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
UUID uuid = pp.getUUID();
|
UUID uuid = pp.getUUID();
|
||||||
if (plot.isAdded(uuid)) {
|
if (!plot.isAdded(uuid)) {
|
||||||
Optional<Boolean> flag = plot.getFlag(Flags.ITEM_DROP);
|
if (Flags.ITEM_DROP.isFalse(plot)) {
|
||||||
if (flag.isPresent() && !flag.get()) {
|
|
||||||
event.setCancelled(true);
|
event.setCancelled(true);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user