forked from GeyserMC/Geyser
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()) {
|
for (Map.Entry<Integer, ? extends JavaItem> javaItemEntry : javaItems.entrySet()) {
|
||||||
if (identifier.equalsIgnoreCase(javaItemEntry.getValue().getIdentifier())) {
|
if (identifier.equalsIgnoreCase(javaItemEntry.getValue().getIdentifier())) {
|
||||||
bedrockToJava.put(bedrockItemEntry.getValue(), javaItemEntry.getValue());
|
if(!(javaToBedrock.containsKey(javaItemEntry.getValue()) && javaToBedrock.containsKey(javaItemEntry.getValue()))) {
|
||||||
javaToBedrock.put(javaItemEntry.getValue(), bedrockItemEntry.getValue());
|
bedrockToJava.put(bedrockItemEntry.getValue(), javaItemEntry.getValue());
|
||||||
|
javaToBedrock.put(javaItemEntry.getValue(), bedrockItemEntry.getValue());
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue