geforkt von Mirrors/Paper
Fix some formatting in CraftEventFactory
By: md_5 <git@md-5.net>
Dieser Commit ist enthalten in:
Ursprung
1256b90fd8
Commit
afb2211b12
@ -1037,7 +1037,7 @@ public class CraftEventFactory {
|
||||
}
|
||||
|
||||
public static EntityBreedEvent callEntityBreedEvent(EntityLiving child, EntityLiving mother, EntityLiving father, EntityLiving breeder, ItemStack bredWith, int experience) {
|
||||
org.bukkit.entity.LivingEntity breederEntity = (LivingEntity)(breeder == null ? null : breeder.getBukkitEntity());
|
||||
org.bukkit.entity.LivingEntity breederEntity = (LivingEntity) (breeder == null ? null : breeder.getBukkitEntity());
|
||||
CraftItemStack bredWithStack = bredWith == null ? null : CraftItemStack.asCraftMirror(bredWith).clone();
|
||||
|
||||
EntityBreedEvent event = new EntityBreedEvent((LivingEntity) child.getBukkitEntity(), (LivingEntity) mother.getBukkitEntity(), (LivingEntity) father.getBukkitEntity(), breederEntity, bredWithStack, experience);
|
||||
|
Laden…
In neuem Issue referenzieren
Einen Benutzer sperren