mc.thePlayer is undefined
Unsolved
ScriptAPI
-
/// api_version=2 var script = registerScript({ name: "AutoStrafe", version: "0.0.0", authors: ["182exe"] }); script.registerModule({ name: "AutoStrafe", category: "Combat", // Movement, Misc, Combat, Fun, Player, Exploit, World, Render description: "Automatically strafe players" }, function (module) { module.on("update", function () { Chat.print(mc.thePlayer) }); });
anyone know what i'm doing wrong?
-
If this is Legacy, it might be that the remapper does not function properly or the mappings were not downloaded correctly. Might check inside your LiquidBounce folder and delete the
mcp-stable_22.srg
file and try starting the game.Otherwise, please share logs, they might help us to find the issue.
If you use Nextgen use
mc.player
.