bugfix
All checks were successful
/ Auto-Build-App (push) Successful in 1m11s

This commit is contained in:
pietru 2024-05-26 17:32:05 +02:00
parent becde6da54
commit 8a7a3c07e6
2 changed files with 2 additions and 2 deletions

View file

@ -4,7 +4,7 @@ org.gradle.parallel=true
org.gradle.caching=false
# Project Info
version=1.5.0
version=1.5.1
group=net.pietru
id=omni_power

View file

@ -59,7 +59,7 @@ public class Power implements IBlockAction {
runTrigger(this.triggerId,to_check,zone);
}
if (block_entities && source_be){
BlockEntity target_entity = sourcePos.chunk.getBlockEntity(sourcePos.localX,sourcePos.localY,sourcePos.localZ);
BlockEntity target_entity = sourcePos.chunk.getBlockEntity(to_check.localX,to_check.localY,to_check.localZ);
//if (target_entity!=null)
// System.out.println("TargetEntityID: "+target_entity.getType().getId()+" IsPowerClient: "+(target_entity instanceof IPowerClient));
if (target_entity instanceof IPowerClient)