mirror of
https://github.com/GeyserMC/Geyser.git
synced 2025-03-14 11:43:48 +01:00
Fix red sand/regular sand mix
This commit is contained in:
parent
d99c285676
commit
c556fa94ea
1 changed files with 4 additions and 2 deletions
|
@ -99,8 +99,10 @@ public class Remapper {
|
|||
|
||||
for (Map.Entry<Integer, ? extends JavaItem> javaItemEntry : javaItems.entrySet()) {
|
||||
if (identifier.equalsIgnoreCase(javaItemEntry.getValue().getIdentifier())) {
|
||||
bedrockToJava.put(bedrockItemEntry.getValue(), javaItemEntry.getValue());
|
||||
javaToBedrock.put(javaItemEntry.getValue(), bedrockItemEntry.getValue());
|
||||
if(!(javaToBedrock.containsKey(javaItemEntry.getValue()) && javaToBedrock.containsKey(javaItemEntry.getValue()))) {
|
||||
bedrockToJava.put(bedrockItemEntry.getValue(), javaItemEntry.getValue());
|
||||
javaToBedrock.put(javaItemEntry.getValue(), bedrockItemEntry.getValue());
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue