Update to Minecraft 1.14-pre5
By: md_5 <git@md-5.net>
This commit is contained in:
parent
0e98365784
commit
a0f2b74c8d
560 changed files with 10642 additions and 10867 deletions
|
@ -13,8 +13,8 @@
|
|||
}
|
||||
|
||||
public <T extends Enum<T>> T a(Class<T> oclass) {
|
||||
- return ((Enum[]) oclass.getEnumConstants())[this.g()];
|
||||
+ return ((T[]) oclass.getEnumConstants())[this.g()]; // CraftBukkit - fix decompile error
|
||||
- return ((Enum[]) oclass.getEnumConstants())[this.i()];
|
||||
+ return ((T[]) oclass.getEnumConstants())[this.i()]; // CraftBukkit - fix decompile error
|
||||
}
|
||||
|
||||
public PacketDataSerializer a(Enum<?> oenum) {
|
||||
|
@ -39,7 +39,7 @@
|
|||
@@ -263,6 +265,11 @@
|
||||
ItemStack itemstack = new ItemStack(Item.getById(i), b0);
|
||||
|
||||
itemstack.setTag(this.j());
|
||||
itemstack.setTag(this.l());
|
||||
+ // CraftBukkit start
|
||||
+ if (itemstack.getTag() != null) {
|
||||
+ CraftItemStack.setItemMeta(itemstack, CraftItemStack.getItemMeta(itemstack));
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue