Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
  • Loading branch information
EhOMiguel committed Sep 10, 2024
2 parents feea913 + 18a70cd commit 756a4c8
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 5 deletions.
4 changes: 0 additions & 4 deletions app/src/game/environment_actions.py
Original file line number Diff line number Diff line change
Expand Up @@ -349,10 +349,6 @@ def usar_portal_do_nether(connection, cursor, nomeUser):
mostrar_texto_gradualmente("Entrada inválida. Tente novamente.", Fore.RED)
return

# PRINT REMOVER
print(destino_chunk)
time.sleep(5)

# Teleportar o jogador para o Nether, para o portal escolhido
cursor.execute("""
UPDATE Jogador
Expand Down
3 changes: 2 additions & 1 deletion db/ddl.sql
Original file line number Diff line number Diff line change
Expand Up @@ -173,10 +173,11 @@ CREATE TABLE Jogador (
nome_mapa VARCHAR(30) NOT NULL,
missao INT,
casa_chunk INT,
nome_mapa_casa VARCHAR(30) DEFAULT 'Superfície',
pts_armadura INT DEFAULT 0,
FOREIGN KEY (numero_chunk, nome_mapa) REFERENCES Chunk(numero, nome_mapa),
FOREIGN KEY (missao) REFERENCES Missao(id_missao),
FOREIGN KEY (casa_chunk, nome_mapa) REFERENCES Chunk(numero, nome_mapa)
FOREIGN KEY (casa_chunk, nome_mapa_casa) REFERENCES Chunk(numero, nome_mapa)
);

-- Tabela Inventário
Expand Down

0 comments on commit 756a4c8

Please sign in to comment.