serversigns / ServerSigns

ServerSigns (SVS) provides the ability to bind player-dispatched and server-disptached commands, messages and actions to signs and every other block in Minecraft.
https://dev.bukkit.org/projects/serversigns
GNU Affero General Public License v3.0
13 stars 13 forks source link

Performance loss with isOffHand #31

Closed EpiCanard closed 4 years ago

EpiCanard commented 4 years ago

Throw a NoSuchMethodError when getHand method doesn't exists cause a loss of performance with minecraft version before 1.9.

Add a verification of minecraft version instead.

By: Exloki

EpiCanard commented 4 years ago

NB : method in camelcase, not snake case