Update Worldedit.js

This commit is contained in:
radmanplays 2024-09-13 13:03:08 +03:30 committed by GitHub
parent 7bc0e54af3
commit aa3b371d86
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -133,7 +133,7 @@ ModAPI.addEventListener("lib:libcustomitems:loaded", () => {
}
if (event.command.toLowerCase().startsWith("//walls")) {
const args = event.command.substring("//walls ".length);
var username = (event.sender.getName());
var username = ModAPI.util.str(event.sender.getName());
if (args) {
const blockTypeName = args;