mirror of
https://github.com/LordBoos/boosCooldowns.git
synced 2024-11-22 18:45:15 +01:00
Fix typo
This commit is contained in:
parent
10f91ac514
commit
d4035e5a04
@ -16,7 +16,7 @@ public class NMSHook
|
|||||||
implements INMSHook {
|
implements INMSHook {
|
||||||
|
|
||||||
private String version = Bukkit.getServer().getClass().getPackage().getName().replace(".", ",").split(",")[3];
|
private String version = Bukkit.getServer().getClass().getPackage().getName().replace(".", ",").split(",")[3];
|
||||||
private Class<?> chatSerializer = version.startsWith("1_7")
|
private Class<?> chatSerializer = version.startsWith("v1_7")
|
||||||
? Class.forName("net.minecraft.server." + version + ".ChatSerializer")
|
? Class.forName("net.minecraft.server." + version + ".ChatSerializer")
|
||||||
: Class.forName("net.minecraft.server." + version + ".IChatBaseComponent$ChatSerializer");
|
: Class.forName("net.minecraft.server." + version + ".IChatBaseComponent$ChatSerializer");
|
||||||
private Class<?> chatComponent = Class.forName("net.minecraft.server." + version + ".IChatBaseComponent");
|
private Class<?> chatComponent = Class.forName("net.minecraft.server." + version + ".IChatBaseComponent");
|
||||||
|
Loading…
Reference in New Issue
Block a user