mirror of
https://github.com/tanyaofei/minecraft-fakeplayer.git
synced 2025-09-14 11:16:46 +08:00
删除已经不被支持的配置
This commit is contained in:
parent
2cadf730ed
commit
011558d28c
@ -5,7 +5,6 @@ import io.github.hello09x.fakeplayer.Main;
|
||||
import io.github.tanyaofei.plugin.toolkit.properties.AbstractProperties;
|
||||
import lombok.Getter;
|
||||
import lombok.ToString;
|
||||
import org.bukkit.Bukkit;
|
||||
import org.bukkit.configuration.file.FileConfiguration;
|
||||
import org.bukkit.plugin.java.JavaPlugin;
|
||||
import org.jetbrains.annotations.NotNull;
|
||||
@ -31,11 +30,6 @@ public class FakeplayerProperties extends AbstractProperties<FakeplayerPropertie
|
||||
*/
|
||||
private int serverLimit;
|
||||
|
||||
/**
|
||||
* 动作更新间隔
|
||||
*/
|
||||
private long tickPeriod;
|
||||
|
||||
/**
|
||||
* 命名模版
|
||||
*/
|
||||
@ -83,7 +77,6 @@ public class FakeplayerProperties extends AbstractProperties<FakeplayerPropertie
|
||||
protected void reload(@NotNull FileConfiguration file) {
|
||||
this.playerLimit = maxIfZero(file.getInt("player-limit", 1));
|
||||
this.serverLimit = maxIfZero(file.getInt("server-limit", 1000));
|
||||
this.tickPeriod = file.getLong("tick-period", 1);
|
||||
this.followQuiting = file.getBoolean("follow-quiting", true);
|
||||
this.detectIp = file.getBoolean("detect-ip", false);
|
||||
this.kaleTps = file.getInt("kale-tps", 10);
|
||||
|
Loading…
Reference in New Issue
Block a user