HyperConomy

HyperConomy

78.3k Downloads

CRITICAL BUG - Players can get an unlimited number of enchanted books

DKrolls opened this issue ยท 5 comments

commented

protectioniii
I am using version: hyperconomy-0.975.6-SNAPSHOT.jar (most recent)
I got the bug by: Creating a 1x1 shop, then adding a Protection III enchantment off a Protection III Sharpness III enchanted book. Then, when holding a stack of 40+ regular books, I did /ms remove protection_3 1, and the entire stack of books became enchanted. Please fix this bug ASAP, as it can wreck my server's economy. Thanks!

commented

I was able to find a temporary way to disable enchantments, via removing the books from my players' shops and putting them somewhere safe, disabling the plugin, running an SQL query to remove all elements of type ENCHANTMENT before saving and re-enabling hyperconomy. If you find that this bug is too difficult to solve right away, please at least add an option to disable the buying/selling of enchanted books. Thanks.

commented

Thanks for reporting this. I will be working on a fix.

commented

Excellent, thank you!

commented

This should be fixed in the latest dev build.

commented

I'll try it ASAP.