From c8127ad99d3875e4341f71c850adb7bcd85d4650 Mon Sep 17 00:00:00 2001 From: radmanplays <95340057+radmanplays@users.noreply.github.com> Date: Tue, 1 Oct 2024 17:34:28 +0330 Subject: [PATCH] Update mobnpcspawner.js --- examplemods/mobnpcspawner.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/examplemods/mobnpcspawner.js b/examplemods/mobnpcspawner.js index 30c6a55..4d681dd 100644 --- a/examplemods/mobnpcspawner.js +++ b/examplemods/mobnpcspawner.js @@ -23,7 +23,7 @@ sheep.$noGravity = 1; // Make sheep invincible - sheep.$setEntityInvulnerable(1); + sheep.$invulnerable = 1 // Add the sheep to the world world.spawnEntityInWorld(sheep);