mirror of
https://github.com/GTNewHorizons/Botania.git
synced 2026-11-19 03:39:17 +00:00
Fix temperance stone fixer not working
This commit is contained in:
1 parent
e71274317b
commit
b9a889d908
2 files changed
+1
-3
No files matched your search
@@ -83,8 +83,6 @@ public class FlattenItems implements IFixableData {
|
||||
case 8: return ModItems.mutatedSeeds.getRegistryName().toString();
|
||||
}
|
||||
});
|
||||
// Just remove the meta (moved to NBT, defaults back to inactive) TODO is this really needed in 1.13, the meta might just disappear by itself
|
||||
LOOKUP.put("botania:temperancestone", i -> ModItems.temperanceStone.getRegistryName().toString());
|
||||
LOOKUP.put("botania:sparkupgrade", i -> {
|
||||
switch(i) {
|
||||
default:
|
||||
|
||||
@@ -17,7 +17,7 @@ public class FlattenNBT implements IFixableData {
|
||||
|
||||
static {
|
||||
LOOKUP.put(ModItems.manaBottle.getRegistryName().toString(), (swigsTaken, tag) -> tag.setInteger(ItemBottledMana.TAG_SWIGS_LEFT, ItemBottledMana.SWIGS - swigsTaken));
|
||||
LOOKUP.put(ModItems.blackHoleTalisman.getRegistryName().toString(), (meta, tag) -> tag.setBoolean(ItemTemperanceStone.TAG_ACTIVE, meta == 1));
|
||||
LOOKUP.put(ModItems.temperanceStone.getRegistryName().toString(), (meta, tag) -> tag.setBoolean(ItemTemperanceStone.TAG_ACTIVE, meta == 1));
|
||||
}
|
||||
|
||||
@Override
|
||||
|
||||
Reference in new issue
Block a user