···44import net.minecraft.core.BlockPos;
5566import java.util.ArrayList;
77+import java.util.List;
78import java.util.Objects;
89import java.util.Optional;
910···2930 }
30313132 // returns all homes
3232- public ArrayList<NamedLocation> getHomes() {
3333- return (ArrayList<NamedLocation>) unmodifiableList(Homes);
3333+ public List<NamedLocation> getHomes() {
3434+ return unmodifiableList(Homes);
3435 }
35363637 // returns a specific home based on the name (if there is one)
···177177 }
178178179179 // todo! test
180180- // checks if a bock position is unsafe, used by the teleportSafetyChecker.
180180+ // checks if a BlockPos is safe, used by the teleportSafetyChecker.
181181 private static boolean isBlockPosSafe(BlockPos bottomPlayer, ServerLevel world) {
182182183183 // get the block below the player