Skip to content

Commit

Permalink
update tooltip to reflect config option (#35)
Browse files Browse the repository at this point in the history
  • Loading branch information
brandyyn authored Dec 21, 2024
1 parent 98f2135 commit e9bb10d
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -712,7 +712,7 @@ public void onUpdate(ItemStack stack, World world, Entity entity, int par4, bool
public void addInformation(ItemStack itemStack, EntityPlayer player, List tooltip, boolean p_77624_4_) {
super.addInformation(itemStack, player, tooltip, p_77624_4_);

if (type == DollyType.NORMAL
if (type == DollyType.NORMAL && !BetterBarrels.disableDollyStacking
&& (!itemStack.hasTagCompound() || !itemStack.getTagCompound().hasKey("Container"))) {
tooltip.add(StatCollector.translateToLocal("item.dolly.folding_hint.1"));
tooltip.add(StatCollector.translateToLocal("item.dolly.folding_hint.2"));
Expand Down

0 comments on commit e9bb10d

Please sign in to comment.