[SPIGOT-2921] Enchantment Table error and Dupe Glitch Created: 15/Dec/16  Updated: 11/Dec/17  Resolved: 15/Dec/16

Status: Resolved
Project: Spigot
Component/s: None
Affects Version/s: None
Fix Version/s: None

Type: Bug Priority: Minor
Reporter: Ac3dUd3 Assignee: Unassigned
Resolution: Invalid Votes: 0
Labels: 1.11, bug, spigot
Environment:
Linux  OS Ubuntu Server 16.04 "Xenial Xerus" LTS (64bits)

Intel Xeon E5 1620 4 c/ 8 t 3.6 GHz+ 64 GB

openjdk version "1.8.0_111"
OpenJDK Runtime Environment (build 1.8.0_111-8u111-b14-2ubuntu0.16.04.2-b14)
OpenJDK 64-Bit Server VM (build 25.111-b14, mixed mode)


Plugin: native MC?

 Description   

my players have been able to use enchantment tables to dupe items. a dev friend told me to post it on here.

there isnt much proof in images to show but here
http://prntscr.com/djqf92

to make the dupe you need to put something in the table then hole shift and press esc, it will throw it on the ground but when you open the enchantment table gui again there will be the original one there as well and now yuo have 2



 Comments   
Comment by Ac3dUd3 [ 15/Dec/16 ]

so use the latest protocol support build ok thank you

Comment by Black Hole [ 15/Dec/16 ]

This is caused by Protocolsupport calling a constructor that don't exist anymore.

It won't be easy to maintain compatibility here:
https://hub.spigotmc.org/stash/projects/SPIGOT/repos/bukkit/commits/1603bcf467683f1303dc6f2d5f95908deec1b74d#src/main/java/org/bukkit/event/enchantment/PrepareItemEnchantEvent.java

Latest Protocolsupport snapshot is already handling this: https://github.com/ProtocolSupport/ProtocolSupport/commit/4b5c3768dd0d6190b8e21bdecc2ee008c1a43644

Comment by Ac3dUd3 [ 15/Dec/16 ]

I forgot to add the error sorry http://hastebin.com/amaxuhohaj.vbs

Generated at Tue Apr 15 09:41:45 UTC 2025 using Jira 10.3.3#10030003-sha1:d220e3fefc8dfc6d47f522d3b9a20c1455e12b7b.