mirror of
https://github.com/CitizensDev/Citizens2.git
synced 2024-12-24 18:18:58 +01:00
Prevent lightning from morphing pigs into pig zombies. This fixes CITIZENS-17.
This commit is contained in:
parent
d9a7175407
commit
f725893005
@ -4,6 +4,7 @@ import net.citizensnpcs.npc.CitizensMobNPC;
|
||||
import net.citizensnpcs.npc.CitizensNPCManager;
|
||||
|
||||
import net.minecraft.server.EntityPig;
|
||||
import net.minecraft.server.EntityWeatherLighting;
|
||||
import net.minecraft.server.PathfinderGoalSelector;
|
||||
import net.minecraft.server.World;
|
||||
|
||||
@ -31,5 +32,9 @@ public class CitizensPigNPC extends CitizensMobNPC {
|
||||
@Override
|
||||
public void d_() {
|
||||
}
|
||||
|
||||
@Override
|
||||
public void a(EntityWeatherLighting entityweatherlighting) {
|
||||
}
|
||||
}
|
||||
}
|
Loading…
Reference in New Issue
Block a user