Skip to content

Commit

Permalink
re-enable sharing for laser hatches (GregTechCEu#2376)
Browse files Browse the repository at this point in the history
  • Loading branch information
htmlcsjs authored Feb 8, 2024
1 parent 0bee7e1 commit a7cf3c6
Showing 1 changed file with 1 addition and 6 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -72,11 +72,6 @@ protected boolean openGUIOnRightClick() {
return false;
}

@Override
public boolean canPartShare() {
return false;
}

@Override
public MultiblockAbility<ILaserContainer> getAbility() {
return isOutput ? MultiblockAbility.OUTPUT_LASER : MultiblockAbility.INPUT_LASER;
Expand Down Expand Up @@ -114,7 +109,7 @@ public void addInformation(ItemStack stack, @Nullable World world, @NotNull List
tooltip.add(I18n.format("gregtech.universal.tooltip.amperage_in_till", amperage));
}
tooltip.add(I18n.format("gregtech.universal.tooltip.energy_storage_capacity", buffer.getEnergyCapacity()));
tooltip.add(I18n.format("gregtech.universal.disabled"));
tooltip.add(I18n.format("gregtech.universal.enabled"));
}

@NotNull
Expand Down

0 comments on commit a7cf3c6

Please sign in to comment.