Skip to content

Commit

Permalink
Bump version
Browse files Browse the repository at this point in the history
  • Loading branch information
RuochenFu21 committed Feb 9, 2024
1 parent 1c6f8f3 commit 2716967
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 4 deletions.
2 changes: 1 addition & 1 deletion gradle.properties
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ org.gradle.jvmargs=-Xmx3G
org.gradle.daemon=false
mc_version=1.18.2

mod_version = 2.0.6-1.18.2
mod_version = 2.0.7-1.18.2

create_version = 0.5.+
flywheel_version = 0.6.+
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,7 @@ public List<KineticBlockEntity> getConnectedTransmitters(){
ArrayList<KineticBlockEntity> list = new ArrayList<>(List.of(this));

channel.put(
this.getTileData().getString("password"),
this.getPassword(),
list
);

Expand Down Expand Up @@ -102,8 +102,9 @@ public void afterReload(){

@Override
public float propagateRotationTo(KineticBlockEntity target, BlockState stateFrom, BlockState stateTo, BlockPos diff, boolean connectedViaAxes, boolean connectedViaCogs) {
return (target.getTileData().getInt("channel") == this.getTileData().getInt("channel")
&& target.getTileData().getString("password").equals(this.getTileData().getString("password"))) ? 1f : 0f;
return (target.getTileData().getInt("channel") == getChannel()
&& target.getTileData().getString("password").equals(getPassword())
&& target.getBlockState().getBlock() instanceof EnergyTransmitterBlock) ? 1f : 0f;
}

}

0 comments on commit 2716967

Please sign in to comment.