Compare commits
No commits in common. "4f78c9bd03e865756e4ddb98dd1e22e6c49a4818" and "fc5d12980f77684a767b8fafe4c95510fa4ae924" have entirely different histories.
4f78c9bd03
...
fc5d12980f
@ -19,7 +19,7 @@ jobs:
|
|||||||
- name: Setup JDK ${{ matrix.java }}
|
- name: Setup JDK ${{ matrix.java }}
|
||||||
uses: actions/setup-java@v4
|
uses: actions/setup-java@v4
|
||||||
with:
|
with:
|
||||||
distribution: 'oracle'
|
distribution: 'liberica'
|
||||||
java-version: ${{ matrix.java }}
|
java-version: ${{ matrix.java }}
|
||||||
|
|
||||||
- name: Cache Gradle packages
|
- name: Cache Gradle packages
|
||||||
|
@ -5,7 +5,7 @@ import earth.terrarium.adastra.api.systems.OxygenApi;
|
|||||||
import fuzs.thinair.helper.AirQualityHelperImpl;
|
import fuzs.thinair.helper.AirQualityHelperImpl;
|
||||||
import net.fabricmc.api.ModInitializer;
|
import net.fabricmc.api.ModInitializer;
|
||||||
import net.fabricmc.loader.api.FabricLoader;
|
import net.fabricmc.loader.api.FabricLoader;
|
||||||
import net.minecraft.world.entity.LivingEntity;
|
import net.minecraft.world.entity.Entity;
|
||||||
import org.slf4j.Logger;
|
import org.slf4j.Logger;
|
||||||
import org.slf4j.LoggerFactory;
|
import org.slf4j.LoggerFactory;
|
||||||
|
|
||||||
@ -19,7 +19,7 @@ public class CreateAirFabric implements ModInitializer {
|
|||||||
LOGGER.info("Create addon mod [{}] is loading alongside Create [{}]!", NAME, Create.VERSION);
|
LOGGER.info("Create addon mod [{}] is loading alongside Create [{}]!", NAME, Create.VERSION);
|
||||||
}
|
}
|
||||||
|
|
||||||
public static boolean isOxygen(LivingEntity entity) {
|
public static boolean isOxygen(Entity entity) {
|
||||||
boolean oxygen = true;
|
boolean oxygen = true;
|
||||||
if (FabricLoader.getInstance().isModLoaded("thinair")) {
|
if (FabricLoader.getInstance().isModLoaded("thinair")) {
|
||||||
oxygen &= new AirQualityHelperImpl()
|
oxygen &= new AirQualityHelperImpl()
|
||||||
|
Loading…
x
Reference in New Issue
Block a user