From d0e8bb3174e54ec77e8a82c8f88da2710b5a11f8 Mon Sep 17 00:00:00 2001 From: isokissa3 Date: Wed, 27 Apr 2016 13:45:26 +0300 Subject: [PATCH] Fixed spacing --- .../java/com/gmail/nossr50/listeners/EntityListener.java | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/main/java/com/gmail/nossr50/listeners/EntityListener.java b/src/main/java/com/gmail/nossr50/listeners/EntityListener.java index d16b48b90..c626c8f7c 100644 --- a/src/main/java/com/gmail/nossr50/listeners/EntityListener.java +++ b/src/main/java/com/gmail/nossr50/listeners/EntityListener.java @@ -706,8 +706,8 @@ public class EntityListener implements Listener { @EventHandler(priority = EventPriority.MONITOR, ignoreCancelled = true) public void onPigZapEvent(PigZapEvent event) { - if (event.getEntity().hasMetadata(mcMMO.entityMetadataKey)) { - event.getPigZombie().setMetadata(mcMMO.entityMetadataKey, mcMMO.metadataValue); - } + if (event.getEntity().hasMetadata(mcMMO.entityMetadataKey)) { + event.getPigZombie().setMetadata(mcMMO.entityMetadataKey, mcMMO.metadataValue); + } } }