Affects Version/s: Minecraft 1.7.4, Minecraft 14w06b, Minecraft 14w07a, Minecraft 14w11b, Minecraft 1.7.9
Fix Version/s: None
Environment:Microsoft Windows 7 Ultimate x64
java version "1.7.0_51"
Java(TM) SE Runtime Environment (build 1.7.0_51-b13)
Java HotSpot(TM) 64-Bit Server VM (build 24.51-b03, mixed mode)
Vanilla Minecraft Server Minecraft's build-in LAN server
To reproduce the glitch you have to be in Survival gamemode and keep hitting a player that has creative gamemode until your weapon breaks (i've tested it using a golden and wooden sword).
In order to get the weapon back as new you can do the following:
- relog/rejoin the server
- open your inventory and click on the slot where the weapon was before it broke
You'll notice that the weapon you used to hit the player with has magically reappeared!
Edit: When doing the same against survival players who ate a golden apple, the weapon returns instantly, but it will have a durability of 1