mirror of
https://github.com/Thorfusion/Mekanism-Community-Edition.git
synced 2026-11-26 14:52:58 +00:00
use getters & setters for InfuseStorage (#5416)
* use getters & setters for InfuseStorage to prevent type/amount discrepancies * Fix a few checks when reading from network/NBT * Fix some spacing I screwed up by accident * fix metallurgic infuser gui texture for dark gauge
This commit is contained in:
1 parent
bbcea85fc4
commit
0dba7cb584
14 files changed
+135
-87
No files matched your search
@@ -168,7 +168,7 @@ public interface IFactory {
|
||||
} else if (fuelType == MachineFuelType.CHANCE) {
|
||||
return getChanceRecipe(slotStack);
|
||||
} else if (this == INFUSING) {
|
||||
if (infuse.type != null) {
|
||||
if (infuse.getType() != null) {
|
||||
return RecipeHandler.getMetallurgicInfuserRecipe(new InfusionInput(infuse, slotStack));
|
||||
} else {
|
||||
for (Entry<InfusionInput, MetallurgicInfuserRecipe> entry : Recipe.METALLURGIC_INFUSER.get()
|
||||
|
||||
Reference in new issue
Block a user