Prevent lightning from morphing pigs into pig zombies. This fixes CITIZENS-17.

This commit is contained in:
aPunch 2012-03-11 16:46:24 -05:00
parent d9a7175407
commit f725893005

View File

@ -4,6 +4,7 @@ import net.citizensnpcs.npc.CitizensMobNPC;
import net.citizensnpcs.npc.CitizensNPCManager; import net.citizensnpcs.npc.CitizensNPCManager;
import net.minecraft.server.EntityPig; import net.minecraft.server.EntityPig;
import net.minecraft.server.EntityWeatherLighting;
import net.minecraft.server.PathfinderGoalSelector; import net.minecraft.server.PathfinderGoalSelector;
import net.minecraft.server.World; import net.minecraft.server.World;
@ -31,5 +32,9 @@ public class CitizensPigNPC extends CitizensMobNPC {
@Override @Override
public void d_() { public void d_() {
} }
@Override
public void a(EntityWeatherLighting entityweatherlighting) {
}
} }
} }