More brace newlines

This commit is contained in:
Spencer 2017-11-24 14:50:56 -05:00 committed by Alexander Meech
parent 9477345823
commit 8a669ccebe

View File

@ -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."));