Mirror von
https://github.com/GeyserMC/Geyser.git
synchronisiert 2024-12-27 08:30:12 +01:00
Add enchantment table book on chunk load (#568)
Java's block entity ID is enchantment_table whereas Bedrock's is EnchantTable; this commit adds an exception to the block entity regex as such.
Dieser Commit ist enthalten in:
Ursprung
95b7055c10
Commit
57717795a3
@ -22,6 +22,10 @@ public class BlockEntityUtils {
|
|||||||
if (id.contains("EnderChest"))
|
if (id.contains("EnderChest"))
|
||||||
return "EnderChest";
|
return "EnderChest";
|
||||||
|
|
||||||
|
if (id.contains("enchanting_table")) {
|
||||||
|
return "EnchantTable";
|
||||||
|
}
|
||||||
|
|
||||||
id = id.toLowerCase()
|
id = id.toLowerCase()
|
||||||
.replace("minecraft:", "")
|
.replace("minecraft:", "")
|
||||||
.replace("_", " ");
|
.replace("_", " ");
|
||||||
|
Laden…
In neuem Issue referenzieren
Einen Benutzer sperren