GregTech CE Unofficial

GregTech CE Unofficial

412k Downloads

BUG 2.5.2-Stack number form items disapearing when held by player with an open GT GUI

firendlyGhost opened this issue ยท 3 comments

commented

GregTech CEu Version

2.5.2

Modpack Used

GT Comunity pack

Addons Installed

No response

Environment

Single player and Server

New Worlds

Yes

Cross-Mod Interaction

No

Expected Behavior

When you hold an item, for example trying to manually insert ingots in a plate bender, normally you can see what amount of items you are inserting (grabbing with mouse), but the moment you click on the item the numbers disapear making it seem you are holding a stack of 1

Actual Behavior

When with a GT GUI open
the moment you click on the item the numbers disapear making it seem you are holding a stack of 1

Steps to Reproduce

Example, making plates:
1- Have 64 ingots in your inventory
2- Open the bending machin GUI ( so far so good)
3- Left/right click the ingots in your inventory- They now appear just the item icon the, number of the stack disappears
4- place it inside the machine and the items says 64 once again.

Note: this Happens on Every single GUI i've tested, like super tanks, crates etc.

Additional Information

BONSU BUG: updating the Gt version jave file (just that file) somehow breaks the greenhouse recipe/ disables the greenhouse block ON SERVER ONLY on the GT community pack, the item is available on SP just fine.

Screenshots to prove point:
2023-02-12_19 32 42

commented

2023-02-12_19 32 46

commented

2023-02-12_19 36 10

Chest is vanilla: Working as Intended

commented

This was caused in commit 81ccb5b when this line "this.drawItemStack(itemStack, mouseX - guiLeft - 8, mouseY - guiTop - dragOffset, "");" was changed in src/main/java/gregtech/api/gui/impl/ModularUIGui.java. Reverting this change solves the issue.