First Version
This commit is contained in:
@@ -25,7 +25,8 @@ function isAgentAt(position: Vector3): boolean {
|
||||
.getEntitiesAtBlockLocation(position)
|
||||
.forEach((entity) => {
|
||||
if (!entity.isValid()) {
|
||||
world.sendMessage("INVALID ENTITY");
|
||||
// world.sendMessage("INVALID ENTITY");
|
||||
world.sendMessage("Please re-open the CodeEditor");
|
||||
return;
|
||||
}
|
||||
if (entity.typeId == "minecraft:agent") {
|
||||
|
||||
Reference in New Issue
Block a user