mirror of
https://github.com/CitizensDev/Citizens2.git
synced 2024-11-28 05:35:45 +01:00
Prevent creeper NPCs from becoming powered by lightning. This partially fixes CITIZENS-16.
This commit is contained in:
parent
3e12221c61
commit
02f18c3d46
@ -4,6 +4,7 @@ import net.citizensnpcs.npc.CitizensMobNPC;
|
|||||||
import net.citizensnpcs.npc.CitizensNPCManager;
|
import net.citizensnpcs.npc.CitizensNPCManager;
|
||||||
|
|
||||||
import net.minecraft.server.EntityCreeper;
|
import net.minecraft.server.EntityCreeper;
|
||||||
|
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 CitizensCreeperNPC extends CitizensMobNPC {
|
|||||||
@Override
|
@Override
|
||||||
public void d_() {
|
public void d_() {
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@Override
|
||||||
|
public void a(EntityWeatherLighting entityweatherlighting) {
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
Loading…
Reference in New Issue
Block a user