@Override
    public void onSpawnTick(SinglePlayerGame game) {
        Set<Location> temp = new HashSet<>();
        for (Location loc : toSpawn) {
            if (!game.spawnEntity(loc, spawn())) {
                temp.add(loc);
            }
        }
        toSpawn = temp;
    }