From 02f18c3d46a530911109a9a21cb42d7272f112de Mon Sep 17 00:00:00 2001 From: aPunch Date: Sun, 11 Mar 2012 16:52:21 -0500 Subject: [PATCH] Prevent creeper NPCs from becoming powered by lightning. This partially fixes CITIZENS-16. --- .../java/net/citizensnpcs/npc/entity/CitizensCreeperNPC.java | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/src/main/java/net/citizensnpcs/npc/entity/CitizensCreeperNPC.java b/src/main/java/net/citizensnpcs/npc/entity/CitizensCreeperNPC.java index 3783b3c4a..0f85712a8 100644 --- a/src/main/java/net/citizensnpcs/npc/entity/CitizensCreeperNPC.java +++ b/src/main/java/net/citizensnpcs/npc/entity/CitizensCreeperNPC.java @@ -4,6 +4,7 @@ import net.citizensnpcs.npc.CitizensMobNPC; import net.citizensnpcs.npc.CitizensNPCManager; import net.minecraft.server.EntityCreeper; +import net.minecraft.server.EntityWeatherLighting; import net.minecraft.server.PathfinderGoalSelector; import net.minecraft.server.World; @@ -31,5 +32,9 @@ public class CitizensCreeperNPC extends CitizensMobNPC { @Override public void d_() { } + + @Override + public void a(EntityWeatherLighting entityweatherlighting) { + } } } \ No newline at end of file