Skip to content

Commit

Permalink
Bumped Apoli and mod version
Browse files Browse the repository at this point in the history
  • Loading branch information
eggohito committed Jan 21, 2025
1 parent 606cc74 commit e052d71
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 3 deletions.
4 changes: 2 additions & 2 deletions gradle.properties
Original file line number Diff line number Diff line change
Expand Up @@ -8,13 +8,13 @@ org.gradle.parallel=true
loader_version=0.16.5

# Mod Properties
mod_version = 1.13.0-alpha.11+mc.1.21.1
mod_version = 1.13.0-alpha.12+mc.1.21.1
maven_group = io.github.apace100
archives_base_name = Origins

# Dependencies
fabric_version=0.105.0+1.21.1
apoli_version=2.12.0-alpha.14+mc.1.21.1
apoli_version=2.12.0-alpha.15+mc.1.21.1
clothconfig_version=13.0.121
modmenu_version=9.0.0
carpet_version=1.21-1.4.147+v240613
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
package io.github.apace100.origins.condition.entity.type;

import io.github.apace100.apoli.condition.ConditionConfiguration;
import io.github.apace100.apoli.condition.context.EntityConditionContext;
import io.github.apace100.apoli.condition.type.EntityConditionType;
import io.github.apace100.apoli.data.TypedDataObjectFactory;
import io.github.apace100.calio.data.SerializableData;
Expand Down Expand Up @@ -40,9 +41,11 @@ public OriginEntityConditionType(Identifier originId, Optional<Identifier> layer
}

@Override
public boolean test(Entity entity) {
public boolean test(EntityConditionContext context) {

Entity entity = context.entity();
OriginComponent originComponent = ModComponents.ORIGIN.getNullable(entity);

if (originComponent == null) {
return false;
}
Expand Down

0 comments on commit e052d71

Please sign in to comment.