diff --git a/README.md b/README.md new file mode 100644 index 0000000..2c8ffc7 --- /dev/null +++ b/README.md @@ -0,0 +1,34 @@ +# Potato Minecraft Server +It runs on a potato. + +## Todo list + +### Datapacks +| Registry | Loads | Loads tags | Synced to client | Tags synced to client | ++---------------------+-------+------------+------------------+-----------------------+ +|advancement | ❌ | ❌ | ❌ | ❌ | +|banner_pattern | ❌ | ❌ | ❌ | ❌ | +|cat_variant | ❌ | ❌ | ❌ | ❌ | +|chat_type | ❌ | ❌ | ❌ | ❌ | +|cow_variant | ❌ | ❌ | ❌ | ❌ | +|damage_type | ❌ | ❌ | ❌ | ❌ | +|dimension | ❌ | ❌ | ❌ | ❌ | +|dimension_type | ❌ | ❌ | ❌ | ❌ | +|enchantment | ❌ | ❌ | ❌ | ❌ | +|enchantment_provider | ❌ | ❌ | ❌ | ❌ | +|frog_variant | ❌ | ❌ | ❌ | ❌ | +|instrument | ❌ | ❌ | ❌ | ❌ | +|item_modifier | ❌ | ❌ | ❌ | ❌ | +|jukebox_song | ❌ | ❌ | ❌ | ❌ | +|loot_table | ❌ | ❌ | ❌ | ❌ | +|painting_variant | ❌ | ❌ | ❌ | ❌ | +|pig_variant | ❌ | ❌ | ❌ | ❌ | +|predicate | ❌ | ❌ | ❌ | ❌ | +|recipe | ❌ | ❌ | ❌ | ❌ | +|test_environment | ❌ | ❌ | ❌ | ❌ | +|test_instance | ❌ | ❌ | ❌ | ❌ | +|trial_spawner | ❌ | ❌ | ❌ | ❌ | +|trim_material | ❌ | ❌ | ❌ | ❌ | +|trim_pattern | ❌ | ❌ | ❌ | ❌ | +|wolf_variant | ❌ | ❌ | ❌ | ❌ | + diff --git a/potato-data/src/datapack.rs b/potato-data/src/datapack.rs index a652ad1..d19f85e 100644 --- a/potato-data/src/datapack.rs +++ b/potato-data/src/datapack.rs @@ -57,7 +57,7 @@ impl Datapack { let path = namespace.join(path); if let Ok(files) = std::fs::read_dir(path) { for file in files { - let file = file.unwrap().path(); + let file = file?.path(); let name = file .file_stem() .and_then(OsStr::to_str)