Skip to content

Commit

Permalink
fix: removed old code
Browse files Browse the repository at this point in the history
  • Loading branch information
Roelymole committed Jan 9, 2025
1 parent 51c17c6 commit 4a9321a
Showing 1 changed file with 0 additions and 13 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -120,19 +120,6 @@ private void galacticraft_modifyAirLevel(int air, CallbackInfoReturnable<Integer
ci.setReturnValue(this.increaseAirSupply(air));
}

// boolean mask = false;
// boolean gear = false;
// for (int i = 0; i < this.galacticraft$getAccessories().getContainerSize(); i++) {
// Item item = this.galacticraft$getAccessories().getItem(i).getItem();
// if (!mask && item instanceof OxygenMask) {
// mask = true;
// if (gear) break;
// } else if (!gear && item instanceof OxygenGear) {
// gear = true;
// if (mask) break;
// }
// }

if (this.galacticraft$hasMaskAndGear()) {
InventoryStorage tankInv = InventoryStorage.of(galacticraft$getOxygenTanks(), null);
for (int i = 0; i < tankInv.getSlotCount(); i++) {
Expand Down

0 comments on commit 4a9321a

Please sign in to comment.