mirror of
https://github.com/webbukkit/dynmap.git
synced 2024-11-23 18:55:14 +01:00
Removed personal comments from Helper
This commit is contained in:
parent
8ad0cff1b5
commit
426346f48a
@ -5,6 +5,12 @@ import org.dynmap.Log;
|
||||
import org.dynmap.bukkit.helper.BukkitVersionHelper;
|
||||
import org.dynmap.bukkit.helper.BukkitVersionHelperCB;
|
||||
import org.dynmap.bukkit.helper.BukkitVersionHelperGlowstone;
|
||||
import org.dynmap.bukkit.helper.v113_2.BukkitVersionHelperSpigot113_2;
|
||||
import org.dynmap.bukkit.helper.v114_1.BukkitVersionHelperSpigot114_1;
|
||||
import org.dynmap.bukkit.helper.v115.BukkitVersionHelperSpigot115;
|
||||
import org.dynmap.bukkit.helper.v116.BukkitVersionHelperSpigot116;
|
||||
import org.dynmap.bukkit.helper.v116_2.BukkitVersionHelperSpigot116_2;
|
||||
import org.dynmap.bukkit.helper.v116_3.BukkitVersionHelperSpigot116_3;
|
||||
import org.dynmap.bukkit.helper.v116_4.BukkitVersionHelperSpigot116_4;
|
||||
|
||||
public class Helper {
|
||||
@ -31,25 +37,28 @@ public class Helper {
|
||||
Log.info("Loading Glowstone support");
|
||||
BukkitVersionHelper.helper = new BukkitVersionHelperGlowstone();
|
||||
}
|
||||
// else if (v.contains("(MC: 1.16)") || v.contains("(MC: 1.16.1")) {
|
||||
// BukkitVersionHelper.helper = new BukkitVersionHelperSpigot116();
|
||||
// }
|
||||
// else if (v.contains("(MC: 1.16.2)")) {
|
||||
// BukkitVersionHelper.helper = new BukkitVersionHelperSpigot116_2();
|
||||
// }
|
||||
else if (v.contains("(MC: 1.16)") || v.contains("(MC: 1.16.1")) {
|
||||
BukkitVersionHelper.helper = new BukkitVersionHelperSpigot116();
|
||||
}
|
||||
else if (v.contains("(MC: 1.16.2)")) {
|
||||
BukkitVersionHelper.helper = new BukkitVersionHelperSpigot116_2();
|
||||
}
|
||||
else if (v.contains("(MC: 1.16.3)")) {
|
||||
BukkitVersionHelper.helper = new BukkitVersionHelperSpigot116_3();
|
||||
}
|
||||
else if (v.contains("(MC: 1.16.")) {
|
||||
BukkitVersionHelper.helper = new BukkitVersionHelperSpigot116_4();
|
||||
}
|
||||
// else if (v.contains("(MC: 1.15)") || v.contains("(MC: 1.15.")) {
|
||||
// BukkitVersionHelper.helper = new BukkitVersionHelperSpigot115();
|
||||
// }
|
||||
// else if (v.contains("(MC: 1.14)") || v.contains("(MC: 1.14.1)") || v.contains("(MC: 1.14.2)") ||
|
||||
// v.contains("(MC: 1.14.3)") || v.contains("(MC: 1.14.4)")) {
|
||||
// BukkitVersionHelper.helper = new BukkitVersionHelperSpigot114_1();
|
||||
// }
|
||||
// else if (v.contains("(MC: 1.13.2)")) {
|
||||
// BukkitVersionHelper.helper = new BukkitVersionHelperSpigot113_2();
|
||||
// }
|
||||
else if (v.contains("(MC: 1.15)") || v.contains("(MC: 1.15.")) {
|
||||
BukkitVersionHelper.helper = new BukkitVersionHelperSpigot115();
|
||||
}
|
||||
else if (v.contains("(MC: 1.14)") || v.contains("(MC: 1.14.1)") || v.contains("(MC: 1.14.2)") ||
|
||||
v.contains("(MC: 1.14.3)") || v.contains("(MC: 1.14.4)")) {
|
||||
BukkitVersionHelper.helper = new BukkitVersionHelperSpigot114_1();
|
||||
}
|
||||
else if (v.contains("(MC: 1.13.2)")) {
|
||||
BukkitVersionHelper.helper = new BukkitVersionHelperSpigot113_2();
|
||||
}
|
||||
else {
|
||||
BukkitVersionHelper.helper = new BukkitVersionHelperCB();
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user