Improves comments in the GateHandler class and extracts some code into GateReader

Moves code for reading .gate files into the GateReader helper class
Improves all comments in GateHandler where possible
Adds more helper comments
This commit is contained in:
2021-10-15 22:16:02 +02:00
parent 5299efaa86
commit 59069d1423
3 changed files with 262 additions and 204 deletions

View File

@ -405,7 +405,7 @@ public class Stargate extends JavaPlugin {
//If users have an outdated config, assume they also need to update their default gates
if (isMigrating) {
GateHandler.populateDefaults(gateFolder);
GateHandler.writeDefaultGatesToFolder(gateFolder);
}
//Gates