GregTech icon indicating copy to clipboard operation
GregTech copied to clipboard

[BUG] Droped Infinity Powered Sword

Open ry2x opened this issue 4 years ago • 3 comments

Describe the bug I got nano sword has infinity energy when I was farming in my zombie and skeleton trap. It can be use and attack with no energy consumption. Keeping on state, but it keeps full energy. It has <gregtech:meta_item_2:32577>.withTag({ench: [{lvl: 4 as short, id: 18 as short}, {lvl: 1 as short, id: 25 as short}, {lvl: 2 as short, id: 20 as short}, {lvl: 3 as short, id: 14 as short}], Active: 1 as byte, Infinite: 1 as byte, Charge: 3999936 as long}).

Versions Forge: 14.23.5.2854 GTCE: 1.12.0.662

Addons: gregicality

Setup Multiplayer

Steps To Reproduce Kill the Zombie has nano sword until drop the nano sword

Screenshots I killed with this 2021-03-03_00 49 28 attached 2021-03-02_14 58 08 P.S) I enchanted it before take SS

ry2x avatar Mar 02 '21 16:03 ry2x

This looks like some other mod changing something?

In HARD difficulty, there is a 3% chance of a zombie spawning with an infinite charge nanosaber, but it should have a 0% chance of dropping the item.

Do you have other mods that change mob spawn or loot behaviour?

warjort avatar Mar 03 '21 21:03 warjort

From our code alone this should not happened and I was testing it some time ago and there were not changes to it.

Can you please provide us with information about modpack or full list of mods and configurations you are using.

LAGIdiot avatar Mar 07 '21 09:03 LAGIdiot

Sorry for late reply. I play my original mod pack. These are mods in my modpack. https://pastebin.com/RBRgrWqB

ry2x avatar Mar 08 '21 16:03 ry2x