Remove Ignore invalid Marker Icon ID's in maps
Spigot has patched this issue inside MapIcon, meaning that we no longer need to maintain this patch; Spigots patch also fixes #668 in that it will verify the length of the array, as well as protect against a negative type value being fetched from the array. Only real change is that Spigots patch returns a MapIcon.Type.PLAYER, instead of the RED_MARKER as originally PR'd by Aikar.
This commit is contained in:
@@ -11,7 +11,7 @@ added, so we do not want any risk of performance degredation.
|
||||
Paper has a proper Timings system that makes the Vanilla Method profiler obsolete and inferior.
|
||||
|
||||
diff --git a/src/main/java/net/minecraft/server/CommandDebug.java b/src/main/java/net/minecraft/server/CommandDebug.java
|
||||
index fe58d428f..938f62f83 100644
|
||||
index fe58d428..938f62f8 100644
|
||||
--- a/src/main/java/net/minecraft/server/CommandDebug.java
|
||||
+++ b/src/main/java/net/minecraft/server/CommandDebug.java
|
||||
@@ -0,0 +0,0 @@ public class CommandDebug extends CommandAbstract {
|
||||
@@ -40,7 +40,7 @@ index fe58d428f..938f62f83 100644
|
||||
|
||||
public List<String> tabComplete(MinecraftServer minecraftserver, ICommandListener icommandlistener, String[] astring, @Nullable BlockPosition blockposition) {
|
||||
diff --git a/src/main/java/net/minecraft/server/MethodProfiler.java b/src/main/java/net/minecraft/server/MethodProfiler.java
|
||||
index 654652916..276983485 100644
|
||||
index 65465291..27698348 100644
|
||||
--- a/src/main/java/net/minecraft/server/MethodProfiler.java
|
||||
+++ b/src/main/java/net/minecraft/server/MethodProfiler.java
|
||||
@@ -0,0 +0,0 @@ import java.util.List;
|
||||
|
||||
Reference in New Issue
Block a user