Cables are working
This commit is contained in:
parent
0dc2636046
commit
316def3086
2 changed files with 128 additions and 43 deletions
|
@ -212,7 +212,7 @@ public class BlockCable extends BlockWithEntity {
|
|||
}
|
||||
|
||||
CableBlockEntity blockEntityCable = (CableBlockEntity) blockEntity;
|
||||
if (blockEntityCable.power <= 0) {
|
||||
if (blockEntityCable.getEnergy() <= 0) {
|
||||
return;
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue