forked from LogBlock/LogBlock
Compile against WorldEdit 7.3.0; fix compile
This commit is contained in:
2
pom.xml
2
pom.xml
@ -50,7 +50,7 @@
|
||||
<dependency>
|
||||
<groupId>com.sk89q.worldedit</groupId>
|
||||
<artifactId>worldedit-bukkit</artifactId>
|
||||
<version>7.2.9-SNAPSHOT</version>
|
||||
<version>7.3.0</version>
|
||||
<scope>provided</scope>
|
||||
</dependency>
|
||||
<dependency>
|
||||
|
@ -139,7 +139,7 @@ public class WorldEditHelper {
|
||||
ByteArrayOutputStream baos = new ByteArrayOutputStream();
|
||||
NBTOutputStream nbtos = new NBTOutputStream(baos);
|
||||
CompoundTag nbt = state.getNbtData();
|
||||
LinkedHashMap<String, Tag> value = new LinkedHashMap<>(nbt.getValue());
|
||||
LinkedHashMap<String, Tag<?, ?>> value = new LinkedHashMap<>(nbt.getValue());
|
||||
value.put("Health", new FloatTag(20.0f));
|
||||
value.put("Motion", new ListTag(DoubleTag.class, Arrays.asList(new DoubleTag[] { new DoubleTag(0), new DoubleTag(0), new DoubleTag(0) })));
|
||||
value.put("Fire", new ShortTag((short) -20));
|
||||
|
Reference in New Issue
Block a user