From 6b031080521fc2b8c381eedd7532f36b57272676 Mon Sep 17 00:00:00 2001 From: isokissa3 Date: Tue, 26 Apr 2016 15:26:50 +0300 Subject: [PATCH] Fixed formatting --- .../java/com/gmail/nossr50/listeners/EntityListener.java | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/src/main/java/com/gmail/nossr50/listeners/EntityListener.java b/src/main/java/com/gmail/nossr50/listeners/EntityListener.java index 4d31f9bba..d16b48b90 100644 --- a/src/main/java/com/gmail/nossr50/listeners/EntityListener.java +++ b/src/main/java/com/gmail/nossr50/listeners/EntityListener.java @@ -705,10 +705,8 @@ public class EntityListener implements Listener { } @EventHandler(priority = EventPriority.MONITOR, ignoreCancelled = true) - public void onPigZapEvent(PigZapEvent event) - { - if (event.getEntity().hasMetadata(mcMMO.entityMetadataKey)) - { + public void onPigZapEvent(PigZapEvent event) { + if (event.getEntity().hasMetadata(mcMMO.entityMetadataKey)) { event.getPigZombie().setMetadata(mcMMO.entityMetadataKey, mcMMO.metadataValue); } }