mirror of
https://github.com/songoda/SongodaCore.git
synced 2025-01-08 08:47:50 +01:00
Fix 1.8 compatibility
This commit is contained in:
parent
d431fdb708
commit
3a43b55e70
@ -90,7 +90,7 @@ public enum CompatibleHand {
|
||||
}
|
||||
|
||||
//getItemInMainHand doesn't exist in 1.8
|
||||
if (ServerVersion.isServerVersion(ServerVersion.V1_8)) {
|
||||
if (ServerVersion.isServerVersionBelow(ServerVersion.V1_9)) {
|
||||
return equipment.getItemInHand();
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user