Update src/main/java/net/pietru/omni_power/blockevents/Power.java
All checks were successful
/ Auto-Build-App (push) Successful in 2m5s
All checks were successful
/ Auto-Build-App (push) Successful in 2m5s
This commit is contained in:
parent
ebfc2d3120
commit
8894815dcf
1 changed files with 1 additions and 1 deletions
|
@ -70,7 +70,7 @@ public class Power implements IBlockEventAction {
|
|||
if (block_entities && source_be){
|
||||
BlockEntity target_entity = BEUtils.getBlockEntity(sourcePos);
|
||||
if (target_entity!=null)
|
||||
System.out.println("TargetEntityID:"+target_entity.getType().getId());
|
||||
System.out.println("TargetEntityID: "+target_entity.getType().getId()+" IsPowerClient: "+(target_entity instanceof IPowerClient));
|
||||
if (target_entity instanceof IPowerClient)
|
||||
((IPowerProducer)source_entity).send_to_client(target_entity);
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue