This commit is contained in:
parent
becde6da54
commit
8a7a3c07e6
2 changed files with 2 additions and 2 deletions
|
@ -4,7 +4,7 @@ org.gradle.parallel=true
|
||||||
org.gradle.caching=false
|
org.gradle.caching=false
|
||||||
|
|
||||||
# Project Info
|
# Project Info
|
||||||
version=1.5.0
|
version=1.5.1
|
||||||
group=net.pietru
|
group=net.pietru
|
||||||
id=omni_power
|
id=omni_power
|
||||||
|
|
||||||
|
|
|
@ -59,7 +59,7 @@ public class Power implements IBlockAction {
|
||||||
runTrigger(this.triggerId,to_check,zone);
|
runTrigger(this.triggerId,to_check,zone);
|
||||||
}
|
}
|
||||||
if (block_entities && source_be){
|
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)
|
//if (target_entity!=null)
|
||||||
// System.out.println("TargetEntityID: "+target_entity.getType().getId()+" IsPowerClient: "+(target_entity instanceof IPowerClient));
|
// System.out.println("TargetEntityID: "+target_entity.getType().getId()+" IsPowerClient: "+(target_entity instanceof IPowerClient));
|
||||||
if (target_entity instanceof IPowerClient)
|
if (target_entity instanceof IPowerClient)
|
||||||
|
|
Loading…
Reference in a new issue