This commit is contained in:
radmanplays 2024-09-12 19:09:24 +03:30 committed by GitHub
parent ce600a0b4e
commit e45f3397b2
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -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;
`