Remove redundant cast

This commit is contained in:
md_5 2019-04-27 09:26:19 +10:00
parent 401641ea6d
commit 3a8616779a

View File

@ -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