mirror of
https://github.com/mcMMO-Dev/mcMMO.git
synced 2024-11-26 07:06:45 +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)
|
||||
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);
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user