From e45f3397b2cd2ec77b7ad24d90c0f5ee49653bfe Mon Sep 17 00:00:00 2001 From: radmanplays <95340057+radmanplays@users.noreply.github.com> Date: Thu, 12 Sep 2024 19:09:24 +0330 Subject: [PATCH] i forgor --- examplemods/Worldedit.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/examplemods/Worldedit.js b/examplemods/Worldedit.js index 7bf7789..4affaf2 100644 --- a/examplemods/Worldedit.js +++ b/examplemods/Worldedit.js @@ -28,7 +28,7 @@ ModAPI.addEventListener("lib:libcustomitems:loaded", () => { // Send chat message to player user.addChatMessage(ModAPI.reflect.getClassById("net.minecraft.util.ChatComponentText").constructors[0](ModAPI.util.str( - ModAPI.util.str(prefix + "Pos #2 selected at: " + pos.$x + ", " + pos.$y + ", " + pos.$z) + ModAPI.util.str(prefix + "Pos #2 selected at: " + pos.$x + ", " + pos.$y + ", " + pos.$z)) )); return true; `, @@ -43,7 +43,7 @@ ModAPI.addEventListener("lib:libcustomitems:loaded", () => { // Send chat message to player user.addChatMessage(ModAPI.reflect.getClassById("net.minecraft.util.ChatComponentText").constructors[0](ModAPI.util.str( - ModAPI.util.str(prefix + "Pos #1 selected at: " + pos.$x + ", " + pos.$y + ", " + pos.$z) + ModAPI.util.str(prefix + "Pos #1 selected at: " + pos.$x + ", " + pos.$y + ", " + pos.$z)) )); return true; `