mirror of
https://github.com/MinecraftForge/MinecraftForge.git
synced 2026-11-19 19:59:42 +00:00
Regen patches
This commit is contained in:
1 parent
77e8c72589
commit
03a6dbb405
1 file changed
+6
-6
@@ -1,15 +1,15 @@
|
||||
--- a/net/minecraft/network/PacketBuffer.java
|
||||
+++ b/net/minecraft/network/PacketBuffer.java
|
||||
@@ -39,7 +_,7 @@
|
||||
import net.minecraftforge.api.distmarker.Dist;
|
||||
import net.minecraftforge.api.distmarker.OnlyIn;
|
||||
@@ -37,7 +_,7 @@
|
||||
import net.minecraft.util.math.vector.Vector3d;
|
||||
import net.minecraft.util.text.ITextComponent;
|
||||
|
||||
-public class PacketBuffer extends ByteBuf {
|
||||
+public class PacketBuffer extends ByteBuf implements net.minecraftforge.common.extensions.IForgePacketBuffer {
|
||||
private final ByteBuf field_150794_a;
|
||||
|
||||
public PacketBuffer(ByteBuf p_i45154_1_) {
|
||||
@@ -292,6 +_,15 @@
|
||||
@@ -287,6 +_,15 @@
|
||||
}
|
||||
|
||||
public PacketBuffer func_150788_a(ItemStack p_150788_1_) {
|
||||
@@ -25,7 +25,7 @@
|
||||
if (p_150788_1_.func_190926_b()) {
|
||||
this.writeBoolean(false);
|
||||
} else {
|
||||
@@ -300,8 +_,8 @@
|
||||
@@ -295,8 +_,8 @@
|
||||
this.func_150787_b(Item.func_150891_b(item));
|
||||
this.writeByte(p_150788_1_.func_190916_E());
|
||||
CompoundNBT compoundnbt = null;
|
||||
@@ -36,7 +36,7 @@
|
||||
}
|
||||
|
||||
this.func_150786_a(compoundnbt);
|
||||
@@ -317,7 +_,7 @@
|
||||
@@ -312,7 +_,7 @@
|
||||
int i = this.func_150792_a();
|
||||
int j = this.readByte();
|
||||
ItemStack itemstack = new ItemStack(Item.func_150899_d(i), j);
|
||||
|
||||
Reference in new issue
Block a user