mirror of
https://github.com/BentoBoxWorld/BentoBox.git
synced 2024-11-23 19:25:12 +01:00
Fix bucket dupe (#1806)
Fix https://discord.com/channels/272499714048524288/310623455462686720/867790395442462760
This commit is contained in:
parent
2044c73f05
commit
21fed6ebfe
@ -62,6 +62,7 @@ public class ObsidianScoopingListener extends FlagListener {
|
||||
user.sendMessage("protection.flags.OBSIDIAN_SCOOPING.scooping");
|
||||
player.getWorld().playSound(player.getLocation(), Sound.ITEM_BUCKET_FILL_LAVA, 1F, 1F);
|
||||
b.setType(Material.AIR);
|
||||
e.setCancelled(true);
|
||||
Bukkit.getScheduler().runTask(BentoBox.getInstance(), () -> givePlayerLava(player, bucket));
|
||||
return true;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user