From 3a8616779a9f7d596355f357f044d28c4e188fee Mon Sep 17 00:00:00 2001 From: md_5 Date: Sat, 27 Apr 2019 09:26:19 +1000 Subject: [PATCH] Remove redundant cast --- nms-patches/AdvancementDataPlayer.patch | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/nms-patches/AdvancementDataPlayer.patch b/nms-patches/AdvancementDataPlayer.patch index 5dc3f34ea4..96af9ca550 100644 --- a/nms-patches/AdvancementDataPlayer.patch +++ b/nms-patches/AdvancementDataPlayer.patch @@ -6,7 +6,7 @@ if (advancement == null) { - AdvancementDataPlayer.LOGGER.warn("Ignored advancement '{}' in progress file {} - it doesn't exist anymore?", entry.getKey(), this.e); + // CraftBukkit start -+ if (((MinecraftKey) entry.getKey()).b().equals("minecraft")) { ++ if (entry.getKey().b().equals("minecraft")) { + AdvancementDataPlayer.LOGGER.warn("Ignored advancement '{}' in progress file {} - it doesn't exist anymore?", entry.getKey(), this.e); + } + // CraftBukkit end