mirror of
https://github.com/filoghost/HolographicDisplays.git
synced 2024-11-07 03:09:52 +01:00
Finally, Cauldron 1.7.10 compatible.
This commit is contained in:
parent
c8d2a0f097
commit
0f3147f11d
@ -26,7 +26,8 @@ public class VersionUtils {
|
|||||||
}
|
}
|
||||||
|
|
||||||
public static boolean isMCPCOrCauldron() {
|
public static boolean isMCPCOrCauldron() {
|
||||||
return Bukkit.getVersion().toLowerCase().contains("mcpc") || Bukkit.getVersion().toLowerCase().contains("cauldron");
|
// This returns the server software e.g. CraftBukkit, Cauldron-MCPC-Plus, ...
|
||||||
|
return Bukkit.getName().toLowerCase().contains("mcpc") || Bukkit.getName().toLowerCase().contains("cauldron");
|
||||||
}
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user