mirror of
https://github.com/PurpurMC/Purpur.git
synced 2026-02-20 18:07:43 +01:00
Add option to disable ignored advancement warnings
This commit is contained in:
@@ -1,4 +1,4 @@
|
||||
From 8482481275e0e1410010ea0345623bf43bef961a Mon Sep 17 00:00:00 2001
|
||||
From 116e110a51058adb55971fed51c8ba09e441de7d Mon Sep 17 00:00:00 2001
|
||||
From: William Blake Galbreath <Blake.Galbreath@GMail.com>
|
||||
Date: Wed, 1 Apr 2020 17:21:42 -0500
|
||||
Subject: [PATCH] Configurable enchantment max level
|
||||
@@ -740,7 +740,7 @@ index 4571cdf02..aa3cbd523 100644
|
||||
public float a(int i, EnumMonsterType enummonstertype) {
|
||||
return this.a == 0 ? 1.0F + (float) Math.max(0, i - 1) * 0.5F : (this.a == 1 && enummonstertype == EnumMonsterType.UNDEAD ? (float) i * 2.5F : (this.a == 2 && enummonstertype == EnumMonsterType.ARTHROPOD ? (float) i * 2.5F : 0.0F));
|
||||
diff --git a/src/main/java/net/pl3x/purpur/PurpurConfig.java b/src/main/java/net/pl3x/purpur/PurpurConfig.java
|
||||
index a9ae5190e..8827b9d0d 100644
|
||||
index 7bea36213..68bad6a13 100644
|
||||
--- a/src/main/java/net/pl3x/purpur/PurpurConfig.java
|
||||
+++ b/src/main/java/net/pl3x/purpur/PurpurConfig.java
|
||||
@@ -1,6 +1,8 @@
|
||||
@@ -752,7 +752,7 @@ index a9ae5190e..8827b9d0d 100644
|
||||
import net.minecraft.server.MinecraftServer;
|
||||
import net.pl3x.purpur.command.PurpurCommand;
|
||||
import org.bukkit.Bukkit;
|
||||
@@ -192,4 +194,12 @@ public class PurpurConfig {
|
||||
@@ -194,4 +196,12 @@ public class PurpurConfig {
|
||||
private static void timingsSettings() {
|
||||
getString("settings.timings.url", "https://timings.pl3x.net");
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user