Mirror von
https://github.com/IntellectualSites/FastAsyncWorldEdit.git
synchronisiert 2024-12-25 18:40:05 +01:00
Fixed unchecked cast in CuboidClipboard.loadSchematic().
Dieser Commit ist enthalten in:
Ursprung
ebb25ff41c
Commit
f1874efef9
@ -312,7 +312,8 @@ public class CuboidClipboard {
|
|||||||
byte[] blockData = (byte[])getChildTag(schematic, "Data", ByteArrayTag.class).getValue();
|
byte[] blockData = (byte[])getChildTag(schematic, "Data", ByteArrayTag.class).getValue();
|
||||||
|
|
||||||
// Need to pull out tile entities
|
// Need to pull out tile entities
|
||||||
List<Tag> tileEntities = (List<Tag>)getChildTag(schematic, "TileEntities", ListTag.class).getValue();
|
List<Tag> tileEntities = (List<Tag>)((ListTag)getChildTag(schematic, "TileEntities", ListTag.class))
|
||||||
|
.getValue();
|
||||||
Map<BlockVector,Map<String,Tag>> tileEntitiesMap =
|
Map<BlockVector,Map<String,Tag>> tileEntitiesMap =
|
||||||
new HashMap<BlockVector,Map<String,Tag>>();
|
new HashMap<BlockVector,Map<String,Tag>>();
|
||||||
|
|
||||||
|
Laden…
In neuem Issue referenzieren
Einen Benutzer sperren