mirror of
https://github.com/mcMMO-Dev/mcMMO.git
synced 2024-12-01 17:36:46 +01:00
Fixed formatting
This commit is contained in:
parent
34447ef874
commit
6b03108052
@ -705,10 +705,8 @@ public class EntityListener implements Listener {
|
|||||||
}
|
}
|
||||||
|
|
||||||
@EventHandler(priority = EventPriority.MONITOR, ignoreCancelled = true)
|
@EventHandler(priority = EventPriority.MONITOR, ignoreCancelled = true)
|
||||||
public void onPigZapEvent(PigZapEvent event)
|
public void onPigZapEvent(PigZapEvent event) {
|
||||||
{
|
if (event.getEntity().hasMetadata(mcMMO.entityMetadataKey)) {
|
||||||
if (event.getEntity().hasMetadata(mcMMO.entityMetadataKey))
|
|
||||||
{
|
|
||||||
event.getPigZombie().setMetadata(mcMMO.entityMetadataKey, mcMMO.metadataValue);
|
event.getPigZombie().setMetadata(mcMMO.entityMetadataKey, mcMMO.metadataValue);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user