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); } }