Get rid of shitty command class.
Yay regex!
This commit is contained in:
@@ -42,8 +42,6 @@ public class Serialization {
|
||||
}
|
||||
|
||||
public static Inventory fromBase64(String data) {
|
||||
if(data.isEmpty())
|
||||
return null;
|
||||
ByteArrayInputStream inputStream = new ByteArrayInputStream(Base64Coder.decodeLines(data));
|
||||
NBTTagList itemList = (NBTTagList) NBTBase.b(new DataInputStream(inputStream));
|
||||
Inventory inventory = new CraftInventoryCustom(null, itemList.size());
|
||||
|
||||
Reference in New Issue
Block a user