More brace newlines
This commit is contained in:
parent
9477345823
commit
8a669ccebe
@ -537,14 +537,17 @@ public class LootModule extends MiniPlugin
|
||||
return;
|
||||
}
|
||||
|
||||
if (!_safezone.isInSafeZone(event.getPlayer())) {
|
||||
if (!_safezone.isInSafeZone(event.getPlayer()))
|
||||
{
|
||||
return;
|
||||
}
|
||||
|
||||
ItemStack dropped = event.getItemDrop().getItemStack();
|
||||
|
||||
for (LootItemReward storedReward : _itemRewards) {
|
||||
if (storedReward.getItemStack().isSimilar(dropped)) {
|
||||
for (LootItemReward storedReward : _itemRewards)
|
||||
{
|
||||
if (storedReward.getItemStack().isSimilar(dropped))
|
||||
{
|
||||
event.setCancelled(true);
|
||||
event.getItemDrop().remove();
|
||||
event.getPlayer().sendMessage(F.main(_moduleName, "You can't drop special items in Safezones."));
|
||||
|
Loading…
Reference in New Issue
Block a user