mappings
This commit is contained in:
1 parent
42ba5a9f03
commit
cf817c2e39
25 files changed
+91
-92
No files matched your search
@@ -12,13 +12,13 @@ import com.mojang.brigadier.builder.LiteralArgumentBuilder;
|
||||
import com.mojang.brigadier.context.CommandContext;
|
||||
import com.mojang.brigadier.exceptions.CommandSyntaxException;
|
||||
import com.mojang.brigadier.exceptions.SimpleCommandExceptionType;
|
||||
import net.minecraft.class_5218;
|
||||
import net.minecraft.entity.player.PlayerEntity;
|
||||
import net.minecraft.server.MinecraftServer;
|
||||
import net.minecraft.server.ServerTask;
|
||||
import net.minecraft.server.command.ServerCommandSource;
|
||||
import net.minecraft.server.network.ServerPlayerEntity;
|
||||
import net.minecraft.text.BaseText;
|
||||
import net.minecraft.util.WorldSavePath;
|
||||
import org.apache.commons.lang3.tuple.Pair;
|
||||
import org.apache.logging.log4j.util.TriConsumer;
|
||||
|
||||
@@ -139,7 +139,7 @@ public class SettingsManager
|
||||
|
||||
private File getFile()
|
||||
{
|
||||
return server.method_27050(class_5218.field_24188).resolve(identifier+".conf").toFile();
|
||||
return server.method_27050(WorldSavePath.ROOT).resolve(identifier+".conf").toFile();
|
||||
}
|
||||
|
||||
public void disableBooleanCommands()
|
||||
|
||||
Reference in new issue
Block a user