mirror of
https://github.com/PolyhedralDev/Terra.git
synced 2025-07-03 16:35:50 +00:00
add additional spigot warning
This commit is contained in:
parent
5048bc8ede
commit
80c52870f5
@ -120,6 +120,9 @@ public class TerraBukkitPlugin extends JavaPlugin {
|
|||||||
if(!VersionUtil.getSpigotVersionInfo().isSpigot())
|
if(!VersionUtil.getSpigotVersionInfo().isSpigot())
|
||||||
logger.error("YOU ARE RUNNING A CRAFTBUKKIT OR BUKKIT SERVER. PLEASE UPGRADE TO PAPER.");
|
logger.error("YOU ARE RUNNING A CRAFTBUKKIT OR BUKKIT SERVER. PLEASE UPGRADE TO PAPER.");
|
||||||
|
|
||||||
|
if(!VersionUtil.getSpigotVersionInfo().isPaper())
|
||||||
|
logger.error("YOU ARE RUNNING A SPIGOT SERVER. PLEASE UPGRADE TO PAPER.");
|
||||||
|
|
||||||
if(VersionUtil.getSpigotVersionInfo().isMohist()) {
|
if(VersionUtil.getSpigotVersionInfo().isMohist()) {
|
||||||
if(System.getProperty("IKnowMohistCausesLotsOfIssuesButIWillUseItAnyways") == null) {
|
if(System.getProperty("IKnowMohistCausesLotsOfIssuesButIWillUseItAnyways") == null) {
|
||||||
Runnable runnable = () -> { // scary big block of text
|
Runnable runnable = () -> { // scary big block of text
|
||||||
|
Loading…
x
Reference in New Issue
Block a user