Hotfix: 1.20 Schematic Reader

This commit is contained in:
2025-01-01 14:12:38 +01:00
parent d7d6c2df7b
commit 025ec2a850
3 changed files with 18 additions and 26 deletions
@@ -67,6 +67,7 @@ public class WorldEditWrapper21 implements WorldEditWrapper {
}
@Override
@SuppressWarnings("removal")
public Clipboard getClipboard(InputStream is, NodeData.SchematicFormat schemFormat) throws IOException {
return switch (schemFormat) {
case MCEDIT -> new MCEditSchematicReader(new NBTInputStream(is)).read();