mirror of
https://github.com/Creators-of-Create/Create.git
synced 2024-12-28 16:06:48 +01:00
Fix SchematicannonScreen tooltip handling
This commit is contained in:
parent
727de5425f
commit
550e058ec5
1 changed files with 3 additions and 3 deletions
|
@ -327,15 +327,15 @@ public class SchematicannonScreen extends AbstractSimiContainerScreen<Schematica
|
||||||
}
|
}
|
||||||
|
|
||||||
if (hoveredSlot != null && !hoveredSlot.getHasStack()) {
|
if (hoveredSlot != null && !hoveredSlot.getHasStack()) {
|
||||||
if (hoveredSlot.getSlotIndex() == 0)
|
if (hoveredSlot.slotNumber == 0)
|
||||||
renderTooltip(
|
renderTooltip(
|
||||||
TooltipHelper.cutString(Lang.translate(_slotSchematic), TextFormatting.GRAY, TextFormatting.BLUE),
|
TooltipHelper.cutString(Lang.translate(_slotSchematic), TextFormatting.GRAY, TextFormatting.BLUE),
|
||||||
mouseX, mouseY);
|
mouseX, mouseY);
|
||||||
if (hoveredSlot.getSlotIndex() == 2)
|
if (hoveredSlot.slotNumber == 2)
|
||||||
renderTooltip(
|
renderTooltip(
|
||||||
TooltipHelper.cutString(Lang.translate(_slotListPrinter), TextFormatting.GRAY, TextFormatting.BLUE),
|
TooltipHelper.cutString(Lang.translate(_slotListPrinter), TextFormatting.GRAY, TextFormatting.BLUE),
|
||||||
mouseX, mouseY);
|
mouseX, mouseY);
|
||||||
if (hoveredSlot.getSlotIndex() == 4)
|
if (hoveredSlot.slotNumber == 4)
|
||||||
renderTooltip(
|
renderTooltip(
|
||||||
TooltipHelper.cutString(Lang.translate(_slotGunpowder), TextFormatting.GRAY, TextFormatting.BLUE),
|
TooltipHelper.cutString(Lang.translate(_slotGunpowder), TextFormatting.GRAY, TextFormatting.BLUE),
|
||||||
mouseX, mouseY);
|
mouseX, mouseY);
|
||||||
|
|
Loading…
Reference in a new issue