mirror of
https://github.com/filoghost/HolographicDisplays.git
synced 2025-01-01 21:57:36 +01:00
Small fix
This commit is contained in:
parent
6276160023
commit
c8d2a0f097
@ -89,7 +89,7 @@ public class HolographicDisplays extends JavaPlugin {
|
|||||||
String version = VersionUtils.getBukkitVersion();
|
String version = VersionUtils.getBukkitVersion();
|
||||||
|
|
||||||
if (version == null) {
|
if (version == null) {
|
||||||
// Caused by MCPC+ / Cauldron renaming packages, get the version from Bukkit.getVersion()
|
// Caused by MCPC+ / Cauldron renaming packages, extract the version from Bukkit.getVersion()
|
||||||
version = VersionUtils.getMinecraftVersion();
|
version = VersionUtils.getMinecraftVersion();
|
||||||
|
|
||||||
if ("1.6.4".equals(version)) {
|
if ("1.6.4".equals(version)) {
|
||||||
@ -100,6 +100,8 @@ public class HolographicDisplays extends JavaPlugin {
|
|||||||
version = "v1_7_R2";
|
version = "v1_7_R2";
|
||||||
} else if ("1.7.8".equals(version)) {
|
} else if ("1.7.8".equals(version)) {
|
||||||
version = "v1_7_R3";
|
version = "v1_7_R3";
|
||||||
|
} else if ("1.7.10".equals(version)) {
|
||||||
|
version = "v1_7_R4";
|
||||||
} else {
|
} else {
|
||||||
// Cannot definitely get the version. This will cause HD to disable itself.
|
// Cannot definitely get the version. This will cause HD to disable itself.
|
||||||
version = null;
|
version = null;
|
||||||
|
Loading…
Reference in New Issue
Block a user