SpigotMC/Spigot — pull request #216 by Dmck2b (2014-08-18 22:29:10+00:00)
Title: Only close inventories if we are actually placing a block

Fixes http://www.spigotmc.org/threads/right-click-npc-open-inventory-spigot-1602.26992/