|
64 | 64 | import net.minecraft.server.dedicated.DedicatedServerSettings;
|
65 | 65 | import net.minecraft.server.level.ServerLevel;
|
66 | 66 | import net.minecraft.server.level.ServerPlayer;
|
67 |
| -import net.minecraft.server.level.Ticket; |
| 67 | +import net.minecraft.server.level.TicketType; |
68 | 68 | import net.minecraft.server.players.IpBanListEntry;
|
69 | 69 | import net.minecraft.server.players.PlayerList;
|
70 | 70 | import net.minecraft.server.players.ServerOpListEntry;
|
@@ -475,7 +475,7 @@ public CraftPlayer apply(ServerPlayer player) {
|
475 | 475 | this.overrideSpawnLimits();
|
476 | 476 | console.autosavePeriod = this.configuration.getInt("ticks-per.autosave");
|
477 | 477 | this.warningState = WarningState.value(this.configuration.getString("settings.deprecated-verbose"));
|
478 |
| - Ticket.PLUGIN_TYPE_TIMEOUT = this.configuration.getInt("chunk-gc.period-in-ticks"); |
| 478 | + TicketType.PLUGIN_TYPE_TIMEOUT = this.configuration.getInt("chunk-gc.period-in-ticks"); |
479 | 479 | this.minimumAPI = ApiVersion.getOrCreateVersion(this.configuration.getString("settings.minimum-api"));
|
480 | 480 | this.loadIcon();
|
481 | 481 | this.loadCompatibilities();
|
@@ -1043,7 +1043,7 @@ public void reload() {
|
1043 | 1043 | this.console.setMotd(config.motd);
|
1044 | 1044 | this.overrideSpawnLimits();
|
1045 | 1045 | this.warningState = WarningState.value(this.configuration.getString("settings.deprecated-verbose"));
|
1046 |
| - Ticket.PLUGIN_TYPE_TIMEOUT = this.configuration.getInt("chunk-gc.period-in-ticks"); |
| 1046 | + TicketType.PLUGIN_TYPE_TIMEOUT = this.configuration.getInt("chunk-gc.period-in-ticks"); |
1047 | 1047 | this.minimumAPI = ApiVersion.getOrCreateVersion(this.configuration.getString("settings.minimum-api"));
|
1048 | 1048 | this.printSaveWarning = false;
|
1049 | 1049 | this.console.autosavePeriod = this.configuration.getInt("ticks-per.autosave");
|
|
0 commit comments