Closed Feryc-Projects closed 1 month ago
Hello, do you see any error in the console when the player uses the command or at startup? are you using mysql or sqlite
Well there's no errors, And it's with mysql lite and mysql.
Am i correct it's because the teamLeaveSubCommand class is missing plugin.runAsync(() -> plugin.getDatabase().updateTeam(team));
yes if it is missing in the class and in the handler you are correct. I'm currently working on a new branch, but I'll check and push an update for this
When a player uses /team leave they will successfully have left the team, but after a server restart they are back in the team they left