View Properties.java
public class Properties {
public static void savePropertiesFile() {
((DedicatedServer) MinecraftServer.getServer()).propertyManager.savePropertiesFile();
}
public static void setServerProperty(ServerProperty property, Object value) {
((DedicatedServer) MinecraftServer.getServer()).propertyManager.setProperty(property.getPropertyName(), value);
}
View keybase.md

Keybase proof

I hereby claim:

  • I am filiperamalho on github.
  • I am filiperamalho (https://keybase.io/filiperamalho) on keybase.
  • I have a public key ASDWb1eJG3PBNCtepgYJvtb86zGOPIdHwLYFsBIRsb1j0go

To claim this, I am signing this object:

View FileManager.java
package de.menzerath.util;
import java.io.File;
import java.text.DecimalFormat;
import java.util.HashMap;
public class FileManager {
private static HashMap<String, String> mimeTypes = new HashMap<>();
private static boolean mimeTypesInitCompleted = false;