Update Netty to 4.0.0-Beta3 + reapply patches for new index info.
By: md_5 <md_5@live.com.au>
This commit is contained in:
@@ -1,4 +1,4 @@
|
||||
From 724d6e5425b42a122cf2bde806674a327eadeefd Mon Sep 17 00:00:00 2001
|
||||
From a1452c17df604ca2f6e605ceb354fe1bcc1ecfc1 Mon Sep 17 00:00:00 2001
|
||||
From: md_5 <md_5@live.com.au>
|
||||
Date: Mon, 4 Mar 2013 18:45:52 +1100
|
||||
Subject: [PATCH] PlayerItemDamageEvent
|
||||
@@ -8,10 +8,10 @@ Subject: [PATCH] PlayerItemDamageEvent
|
||||
1 file changed, 17 insertions(+), 2 deletions(-)
|
||||
|
||||
diff --git a/src/main/java/net/minecraft/server/ItemStack.java b/src/main/java/net/minecraft/server/ItemStack.java
|
||||
index cd6dd07..303d11c 100644
|
||||
index 3b3a48d..f483725 100644
|
||||
--- a/src/main/java/net/minecraft/server/ItemStack.java
|
||||
+++ b/src/main/java/net/minecraft/server/ItemStack.java
|
||||
@@ -159,7 +159,13 @@ public final class ItemStack {
|
||||
@@ -170,7 +170,13 @@ public final class ItemStack {
|
||||
return Item.byId[this.id].getMaxDurability();
|
||||
}
|
||||
|
||||
@@ -25,7 +25,7 @@ index cd6dd07..303d11c 100644
|
||||
if (!this.g()) {
|
||||
return false;
|
||||
} else {
|
||||
@@ -174,7 +180,16 @@ public final class ItemStack {
|
||||
@@ -185,7 +191,16 @@ public final class ItemStack {
|
||||
}
|
||||
|
||||
i -= k;
|
||||
@@ -43,7 +43,7 @@ index cd6dd07..303d11c 100644
|
||||
return false;
|
||||
}
|
||||
}
|
||||
@@ -187,7 +202,7 @@ public final class ItemStack {
|
||||
@@ -198,7 +213,7 @@ public final class ItemStack {
|
||||
public void damage(int i, EntityLiving entityliving) {
|
||||
if (!(entityliving instanceof EntityHuman) || !((EntityHuman) entityliving).abilities.canInstantlyBuild) {
|
||||
if (this.g()) {
|
||||
|
||||
Reference in New Issue
Block a user