Bump OpenNBT version to 1.4

This commit is contained in:
Steveice10 2014-03-25 20:18:25 -07:00
parent 09eb9f3cfe
commit fdbb8168c5
5 changed files with 4 additions and 5 deletions

View file

@ -66,7 +66,7 @@
<dependency>
<groupId>org.spacehq</groupId>
<artifactId>opennbt</artifactId>
<version>1.3</version>
<version>1.4</version>
<scope>compile</scope>
</dependency>
<dependency>

View file

@ -1,6 +1,6 @@
package org.spacehq.mc.protocol.data.game;
import org.spacehq.opennbt.tag.CompoundTag;
import org.spacehq.opennbt.tag.builtin.CompoundTag;
public class ItemStack {

View file

@ -776,7 +776,6 @@ public class MagicValues {
@SuppressWarnings({ "unchecked" })
public static <T extends Enum<?>> T key(Class<T> keyType, Object value) {
System.out.println(keyType + ", " + value);
for(Enum<?> key : values.keySet()) {
Object val = values.get(key);
if(keyType.isAssignableFrom(key.getClass())) {

View file

@ -4,7 +4,7 @@ import org.spacehq.mc.protocol.data.game.Position;
import org.spacehq.mc.protocol.data.game.values.MagicValues;
import org.spacehq.mc.protocol.data.game.values.world.block.UpdatedTileType;
import org.spacehq.mc.util.NetUtil;
import org.spacehq.opennbt.tag.CompoundTag;
import org.spacehq.opennbt.tag.builtin.CompoundTag;
import org.spacehq.packetlib.io.NetInput;
import org.spacehq.packetlib.io.NetOutput;
import org.spacehq.packetlib.packet.Packet;

View file

@ -4,7 +4,7 @@ import org.spacehq.mc.protocol.data.game.*;
import org.spacehq.mc.protocol.data.game.values.MagicValues;
import org.spacehq.mc.protocol.data.game.values.entity.MetadataType;
import org.spacehq.opennbt.NBTIO;
import org.spacehq.opennbt.tag.CompoundTag;
import org.spacehq.opennbt.tag.builtin.CompoundTag;
import org.spacehq.packetlib.io.NetInput;
import org.spacehq.packetlib.io.NetOutput;