mirror of
https://github.com/PaperMC/Paper.git
synced 2024-12-30 16:19:03 +01:00
Stop GIANT discrimination
By: Erik Broes <erikbroes@grum.nl>
This commit is contained in:
parent
1490b27578
commit
c61f2d0af0
1 changed files with 3 additions and 0 deletions
|
@ -5,6 +5,7 @@ import net.minecraft.server.EntityChicken;
|
|||
import net.minecraft.server.EntityCow;
|
||||
import net.minecraft.server.EntityCreeper;
|
||||
import net.minecraft.server.EntityGhast;
|
||||
import net.minecraft.server.EntityGiantZombie;
|
||||
import net.minecraft.server.EntityHuman;
|
||||
import net.minecraft.server.EntityLiving;
|
||||
import net.minecraft.server.EntityPig;
|
||||
|
@ -198,6 +199,8 @@ public class CraftEventFactory {
|
|||
type = CreatureType.CREEPER;
|
||||
} else if (entityliving instanceof EntityGhast) {
|
||||
type = CreatureType.GHAST;
|
||||
} else if (entityliving instanceof EntityGiantZombie) {
|
||||
type = CreatureType.GIANT;
|
||||
} else if (entityliving instanceof EntityPig) {
|
||||
type = CreatureType.PIG;
|
||||
} else if (entityliving instanceof EntityPigZombie) {
|
||||
|
|
Loading…
Reference in a new issue