New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
The letter bug1.12--get unlimited item in server #2205
Comments
no ,all of that thing like bag have this bug。Haven't repaired |
Could you please give more information about this bug? |
Closed because of no response. |
@Nedelosk Create several identical letters addressed one person with stamps and item payload. Then send them using mailbox. Sender will send letters one-by-one, while receiver will receive SUM(N, N - 1, N->0) letters (Example: Sender make and send 6 letters, receiver get 21 letter) |
Code analysis: You do check letter send status, and if it is successfull, shrink item stack size by 1 But you pass full itemstack to ForestryMC/src/main/java/forestry/mail/PostOffice.java Lines 149 to 185 in b92a1a1
It call to
which obviously call storeInPOBox
However, we copy original stack with full amount of letters in it
plz fix |
in the past,the bag and analyse machine in hand could get unlimited item by the fast switch in server.
if you switch to the B-bag during you open the A-bag,the item in A-bag may copy to B-bag and you can take..........
if the link delay was higher,the bug used easier
I know you had repair it ,but you forget the Letter---forestry:letter
the same bug with it in server
I hope it can be repaired, thanks
The text was updated successfully, but these errors were encountered: