mirror of
https://github.com/eaglerforge/EaglerForgeInjector
synced 2025-07-23 14:11:16 -09:00
Update mobnpcspawner.js
This commit is contained in:
parent
bbba5feead
commit
0ca46f67af
@ -23,7 +23,7 @@
|
||||
sheep.noGravity = 1;
|
||||
|
||||
// Make sheep invincible
|
||||
sheep.setEntityInvulnerable(true);
|
||||
sheep.setEntityInvulnerable(1);
|
||||
|
||||
// Prevent the sheep from taking any damage
|
||||
const DamageSourceClass = ModAPI.reflect.getClassById("net.minecraft.util.DamageSource");
|
||||
|
Loading…
x
Reference in New Issue
Block a user