crazysnailboy / EnchantingTable

MIT License
2 stars 2 forks source link

Sneaking does not prevent interaction #13

Open mujmajnkraft opened 6 years ago

mujmajnkraft commented 6 years ago

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.