Fixed formatting

This commit is contained in:
isokissa3 2016-04-26 15:26:50 +03:00
parent 34447ef874
commit 6b03108052

View File

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