13
0
geforkt von Mirrors/Paper

Things compile better when you update mc-dev

Dieser Commit ist enthalten in:
Zach Brown 2015-05-23 13:04:28 -05:00
Ursprung d69690af14
Commit ebb90ceeae

Datei anzeigen

@ -1,6 +1,6 @@
From 70713e64a607952dc3ffc9a7d5cda1fb3d281877 Mon Sep 17 00:00:00 2001
From 4e15946e8e4c8df9593b9f1f10b3390e29526311 Mon Sep 17 00:00:00 2001
From: Zach Brown <zach.brown@destroystokyo.com>
Date: Mon, 18 May 2015 17:32:46 -0500
Date: Sat, 23 May 2015 13:00:52 -0500
Subject: [PATCH] mc-dev imports
@ -690,10 +690,10 @@ index 0000000..0d108eb
+}
diff --git a/src/main/java/net/minecraft/server/ItemBlock.java b/src/main/java/net/minecraft/server/ItemBlock.java
new file mode 100644
index 0000000..451a0bb
index 0000000..264bcfa
--- /dev/null
+++ b/src/main/java/net/minecraft/server/ItemBlock.java
@@ -0,0 +1,90 @@
@@ -0,0 +1,97 @@
+package net.minecraft.server;
+
+public class ItemBlock extends Item {
@ -768,7 +768,7 @@ index 0000000..451a0bb
+ return false;
+ }
+
+ public String e_(ItemStack itemstack) {
+ public String f_(ItemStack itemstack) {
+ return this.a.a();
+ }
+
@ -780,6 +780,13 @@ index 0000000..451a0bb
+ return this.a;
+ }
+
+ public static void d_(ItemStack itemstack) {
+ if (itemstack.hasTag() && itemstack.getTag().hasKeyOfType("BlockEntityTag", 10)) {
+ itemstack.getTag().remove("BlockEntityTag");
+ }
+
+ }
+
+ public Item c(String s) {
+ return this.b(s);
+ }