blob: e820fd6d9d9d85f1a86b692b5fc7344beab2c838 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
|
package com.keuin.ohmyvanillamc;
import carpet.CarpetExtension;
import carpet.CarpetServer;
public class OmvmExtension implements CarpetExtension {
private static final OmvmExtension INSTANCE = new OmvmExtension();
public static OmvmExtension getInstance() {
return INSTANCE;
}
public static void initialize() {
CarpetServer.manageExtension(INSTANCE);
}
@Override
public void onGameStarted() {
CarpetServer.settingsManager.parseSettingsClass(OmvmSettings.class);
}
@Override
public String version() {
return OhMyVanillaMinecraft.getVersion();
}
}
|