mirror of
https://github.com/GeyserMC/MCProtocolLib.git
synced 2024-11-14 19:34:58 -05:00
Bump OpenNBT version to 1.4
This commit is contained in:
parent
09eb9f3cfe
commit
fdbb8168c5
5 changed files with 4 additions and 5 deletions
2
pom.xml
2
pom.xml
|
@ -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>
|
||||
|
|
|
@ -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 {
|
||||
|
||||
|
|
|
@ -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())) {
|
||||
|
|
|
@ -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;
|
||||
|
|
|
@ -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;
|
||||
|
||||
|
|
Loading…
Reference in a new issue