GlowstoneMC / Glowstone

A fast, customizable and compatible open source server for Minecraft: Java Edition
https://glowstone.net
Other
1.89k stars 271 forks source link

Fixes #847 #976

Closed j1o1h1n closed 5 years ago

j1o1h1n commented 5 years ago

This fix builds on the earlier work by Pr0methean [fb5cc7b]. The issue was that UseItemHandler restored the original item into the inventory. I guess this was done in order to delete items when they are consumed.

I made a similar fix to BlockPlacementHandler.