Fixed advanced tooltips showing in Grid when not configured to do so

This commit is contained in:
Raoul Van den Berge
2016-09-12 22:39:59 +02:00
parent a8e92b3231
commit d129ca2b7a
2 changed files with 4 additions and 1 deletions

View File

@@ -1,5 +1,8 @@
# Refined Storage Changelog
### 1.0.1
- Fixed advanced tooltips showing in Grid when not configured to do so (raoulvdberge)
### 1.0
**NOTE:** Due to the new crafting system, all Crafting Patterns made before 1.0 have to be re-made.

View File

@@ -48,7 +48,7 @@ public class ClientStackItem implements IClientStack {
@Override
public String getTooltip() {
return Strings.join(stack.getTooltip(Minecraft.getMinecraft().thePlayer, true), "\n");
return Strings.join(stack.getTooltip(Minecraft.getMinecraft().thePlayer, Minecraft.getMinecraft().gameSettings.advancedItemTooltips), "\n");
}
@Override