Skip to content

Commit

Permalink
fixed register by removing extra _
Browse files Browse the repository at this point in the history
  • Loading branch information
elahemrtz committed Feb 6, 2021
1 parent 994f98b commit 9563545
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 2 deletions.
1 change: 0 additions & 1 deletion src/com/Resources/JSONs/IDGenerator.json
Original file line number Diff line number Diff line change
@@ -1 +0,0 @@
["944106","565519"]
2 changes: 1 addition & 1 deletion src/com/plato/Controller/Menus/RegisterFormController.java
Original file line number Diff line number Diff line change
Expand Up @@ -118,7 +118,7 @@ public void signUp (ActionEvent actionEvent) {
// (Class accType, String pfp, String firstName, String lastName, String username, String password, String email, String phoneNum, double money)
try {
dataOutputStream.writeUTF(
"register_" + (Admin.adminHasBeenCreated() ? Gamer.class : Admin.class).getSimpleName() + "_" +
"register" + (Admin.adminHasBeenCreated() ? Gamer.class : Admin.class).getSimpleName() + "_" +
pfp.getImage().getUrl() + "_" +
firstName.getText() + "_" +
lastName.getText() + "_" +
Expand Down

0 comments on commit 9563545

Please sign in to comment.