mirror of
https://github.com/PolyhedralDev/Terra.git
synced 2026-10-21 07:46:52 +00:00
add additional spigot warning
This commit is contained in:
1 parent
5048bc8ede
commit
80c52870f5
1 file changed
+3
@@ -120,6 +120,9 @@ public class TerraBukkitPlugin extends JavaPlugin {
|
||||
if(!VersionUtil.getSpigotVersionInfo().isSpigot())
|
||||
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(System.getProperty("IKnowMohistCausesLotsOfIssuesButIWillUseItAnyways") == null) {
|
||||
Runnable runnable = () -> { // scary big block of text
|
||||
|
||||
Reference in new issue
Block a user