From 5f44333b8f71677f3acf24577a0a4a2e6b549618 Mon Sep 17 00:00:00 2001 From: LexManos Date: Thu, 4 Apr 2013 18:50:43 -0700 Subject: [PATCH] Untag NBTTagList.removeTag as client side only, allowing simple removal ont he server side. Closes #477 --- .../net/minecraft/nbt/NBTTagList.java.patch | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) create mode 100644 patches/minecraft/net/minecraft/nbt/NBTTagList.java.patch diff --git a/patches/minecraft/net/minecraft/nbt/NBTTagList.java.patch b/patches/minecraft/net/minecraft/nbt/NBTTagList.java.patch new file mode 100644 index 0000000000..a744f0b163 --- /dev/null +++ b/patches/minecraft/net/minecraft/nbt/NBTTagList.java.patch @@ -0,0 +1,19 @@ +--- ../src_base/minecraft/net/minecraft/nbt/NBTTagList.java ++++ ../src_work/minecraft/net/minecraft/nbt/NBTTagList.java +@@ -1,7 +1,5 @@ + package net.minecraft.nbt; + +-import cpw.mods.fml.relauncher.Side; +-import cpw.mods.fml.relauncher.SideOnly; + import java.io.DataInput; + import java.io.DataOutput; + import java.io.IOException; +@@ -92,8 +90,6 @@ + this.tagList.add(par1NBTBase); + } + +- @SideOnly(Side.CLIENT) +- + /** + * Removes a tag at the given index. + */