File tree Expand file tree Collapse file tree 3 files changed +5
-4
lines changed
src/main/kotlin/com/github/itsempa/nautilus/features Expand file tree Collapse file tree 3 files changed +5
-4
lines changed Original file line number Diff line number Diff line change 11[versions ]
2- skyhanni = " 3.17 .0"
2+ skyhanni = " 4.1 .0"
33libautoupdate = " 1.3.1"
44headlessLwjgl = " 1.7.2"
55jbAnnotations = " 24.1.0"
Original file line number Diff line number Diff line change @@ -14,6 +14,7 @@ import at.hannibal2.skyhanni.utils.collection.CollectionUtils.addOrPut
1414import at.hannibal2.skyhanni.utils.renderables.Renderable
1515import at.hannibal2.skyhanni.utils.renderables.container.HorizontalContainerRenderable
1616import at.hannibal2.skyhanni.utils.renderables.container.VerticalContainerRenderable
17+ import at.hannibal2.skyhanni.utils.renderables.item.ItemStackRenderable
1718import com.github.itsempa.nautilus.Nautilus
1819import com.github.itsempa.nautilus.data.FeeshApi
1920import com.github.itsempa.nautilus.data.categories.FishingCategory
@@ -131,7 +132,7 @@ object SpookyCounter {
131132 HorizontalContainerRenderable (
132133 buildList {
133134 for ((mob, amount) in catchAmount) {
134- add(Renderable .itemStack (mob.item, 1.0 ))
135+ add(ItemStackRenderable (mob.item, 1.0 ))
135136 add(SafeUtils .stringRenderable(" §e$amount " , 1.0 ))
136137 add(Renderable .placeholder(5 , 0 ))
137138 }
Original file line number Diff line number Diff line change @@ -17,7 +17,7 @@ class NautilusGuiOptionEditorUpdateCheck(option: ProcessedOption) : GuiOptionEdi
1717 val fr = context.minecraft.defaultFontRenderer
1818
1919 context.pushMatrix()
20- context.translate(x.toFloat() + 10 , y.toFloat(), 1F )
20+ context.translate(x.toFloat() + 10 , y.toFloat())
2121 val adjustedWidth = width - 20
2222 val nextVersion = UpdateManager .getNextVersion()
2323
@@ -47,7 +47,7 @@ class NautilusGuiOptionEditorUpdateCheck(option: ProcessedOption) : GuiOptionEdi
4747
4848 val widthRemaining = adjustedWidth - button.width - 10
4949
50- context.scale(2F , 2F , 1F )
50+ context.scale(2F , 2F )
5151 val currentVersion = Nautilus .VERSION
5252 val sameVersion = currentVersion.equals(nextVersion, true )
5353
You can’t perform that action at this time.
0 commit comments