When you click on an enchanting table or ender enchanting table while sneaking, the gui will open. This is obiviously a bug, because sneaking should prevent players from interacting with blocks. It should be very easy to fix, just check whether is player sneaking in onPlayerRightClickEnchantingTable.
When you click on an enchanting table or ender enchanting table while sneaking, the gui will open. This is obiviously a bug, because sneaking should prevent players from interacting with blocks. It should be very easy to fix, just check whether is player sneaking in onPlayerRightClickEnchantingTable.