MC Dev fixes

This commit is contained in:
Aikar
2016-03-30 19:36:20 -04:00
parent 769119f918
commit f829dcd46a
10 changed files with 108 additions and 1 deletions

View File

@@ -0,0 +1,10 @@
--- a/net/minecraft/commands/arguments/item/ItemInput.java
+++ b/net/minecraft/commands/arguments/item/ItemInput.java
@@ -78,6 +78,6 @@
}
private String getItemName() {
- return this.item.unwrapKey().map(ResourceKey::location).orElseGet(() -> "unknown[" + this.item + "]").toString();
+ return this.item.unwrapKey().<Object>map(ResourceKey::location).orElseGet(() -> "unknown[" + this.item + "]").toString(); // Paper - decompile fix
}
}