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:
Shane Freeder 2017-04-22 15:32:06 +01:00
parent 7afde8f75f
commit ffb572ce9a
No known key found for this signature in database
GPG key ID: A3F61EA5A085289C
49 changed files with 153 additions and 180 deletions

View file

@ -1,11 +1,11 @@
From 17223e9ba60ecfb981e037bcc62018b428d71808 Mon Sep 17 00:00:00 2001
From 5f3ad3c3d105730323ea950c36892c1c548f4437 Mon Sep 17 00:00:00 2001
From: Jedediah Smith <jedediah@silencegreys.com>
Date: Fri, 4 Mar 2016 03:13:18 -0500
Subject: [PATCH] Arrow pickup rule API
diff --git a/src/main/java/org/bukkit/entity/Arrow.java b/src/main/java/org/bukkit/entity/Arrow.java
index 1ff0951..da4678d 100644
index 1ff09518..da4678d0 100644
--- a/src/main/java/org/bukkit/entity/Arrow.java
+++ b/src/main/java/org/bukkit/entity/Arrow.java
@@ -72,6 +72,40 @@ public interface Arrow extends Projectile {
@ -50,5 +50,5 @@ index 1ff0951..da4678d 100644
{
--
2.9.3
2.12.2