mirror of
https://github.com/TotalFreedomMC/TF-PlotSquared.git
synced 2024-12-23 00:15:06 +00:00
Fixes #1102
This commit is contained in:
parent
75c7fe969c
commit
7873bcf592
1 changed files with 2 additions and 3 deletions
|
@ -131,9 +131,8 @@ public class PlotPlusListener extends PlotListener implements Listener {
|
|||
return;
|
||||
}
|
||||
UUID uuid = pp.getUUID();
|
||||
if (plot.isAdded(uuid)) {
|
||||
Optional<Boolean> flag = plot.getFlag(Flags.ITEM_DROP);
|
||||
if (flag.isPresent() && !flag.get()) {
|
||||
if (!plot.isAdded(uuid)) {
|
||||
if (Flags.ITEM_DROP.isFalse(plot)) {
|
||||
event.setCancelled(true);
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue