mirror of
https://github.com/mcMMO-Dev/mcMMO.git
synced 2025-07-30 11:05:28 +02:00
Wire missing NMS
This commit is contained in:
@@ -56,6 +56,7 @@ public class PlayerAttackCooldownExploitPreventionLayer extends AbstractCompatib
|
||||
case NMS_1_13_2:
|
||||
case NMS_1_14_4:
|
||||
case NMS_1_15_2:
|
||||
case NMS_1_16_1:
|
||||
return true;
|
||||
default:
|
||||
return false;
|
||||
@@ -189,6 +190,8 @@ public class PlayerAttackCooldownExploitPreventionLayer extends AbstractCompatib
|
||||
return wireNMS("dY", "s", "dZ", "getHandle");
|
||||
case NMS_1_15_2:
|
||||
return wireNMS("ex", "s", "ey", "getHandle");
|
||||
case NMS_1_16_1:
|
||||
return wireNMS("eR", "getAttackCooldown", "resetAttackCooldown", "getHandle");
|
||||
default:
|
||||
break;
|
||||
}
|
||||
|
Reference in New Issue
Block a user