Add Formatting (Thank God)
This commit is contained in:
@@ -1,8 +1,8 @@
|
||||
import { Vector3, world } from "@minecraft/server";
|
||||
import Level from "../../Commandeer/level/level";
|
||||
import pupeteer from "../../Commandeer/pupeteer";
|
||||
import { teleportAgent, isAgentAt, getAgentLocation, getAgent } from "../../Commandeer/utils/agentUtils";
|
||||
import { vector3, Vector3Add, Vector3ToCommandString } from "../../Commandeer/utils/vectorUtils";
|
||||
import { teleportAgent, isAgentAt } from "../../Commandeer/utils/agentUtils";
|
||||
import { vector3 } from "../../Commandeer/utils/vectorUtils";
|
||||
import { mindKeeper, CURRENT_LEVEL } from "../../main";
|
||||
import { MinecraftBlockTypes } from "../../vanilla-data/mojang-block";
|
||||
import { checkBlockCondition } from "../../Commandeer/level/levelTypes";
|
||||
@@ -38,9 +38,9 @@ const mission2part2: Level = new Level(
|
||||
//Check if the agent is at the end position
|
||||
//than check if the level is correct
|
||||
let isComplete = false;
|
||||
let isAgentAtEndPosition = isAgentAt(mission2part2EndPosition);
|
||||
const isAgentAtEndPosition = isAgentAt(mission2part2EndPosition);
|
||||
if (isAgentAtEndPosition) {
|
||||
let isCorrect = checkBlockCondition(mission2part2Conditions);
|
||||
const isCorrect = checkBlockCondition(mission2part2Conditions);
|
||||
|
||||
if (isCorrect) {
|
||||
isComplete = true;
|
||||
|
||||
Reference in New Issue
Block a user