mirror of
https://github.com/mcMMO-Dev/mcMMO.git
synced 2024-12-25 18:17:46 +01:00
Extra equals
This commit is contained in:
parent
064c16f4d7
commit
ba133f94fc
@ -34,7 +34,7 @@ public class ArcheryManager {
|
||||
|
||||
ArrowTrackingEventHandler eventHandler = new ArrowTrackingEventHandler(this, livingEntity);
|
||||
|
||||
if (Archery.getRandom().nextInt(1000) <= eventHandler.skillModifier) {
|
||||
if (Archery.getRandom().nextInt(1000) < eventHandler.skillModifier) {
|
||||
eventHandler.addToTracker();
|
||||
}
|
||||
}
|
||||
@ -52,7 +52,7 @@ public class ArcheryManager {
|
||||
|
||||
DazeEventHandler eventHandler = new DazeEventHandler(this, event, defender);
|
||||
|
||||
if (Archery.getRandom().nextInt(2000) <= eventHandler.skillModifier) {
|
||||
if (Archery.getRandom().nextInt(2000) < eventHandler.skillModifier) {
|
||||
eventHandler.handleDazeEffect();
|
||||
eventHandler.sendAbilityMessages();
|
||||
}
|
||||
|
@ -78,7 +78,7 @@ public class TamingManager {
|
||||
|
||||
GoreEventHandler eventHandler = new GoreEventHandler(this, event);
|
||||
|
||||
if (Taming.getRandom().nextInt(1000) <= eventHandler.skillModifier) {
|
||||
if (Taming.getRandom().nextInt(1000) < eventHandler.skillModifier) {
|
||||
eventHandler.modifyEventDamage();
|
||||
eventHandler.applyBleed();
|
||||
eventHandler.sendAbilityMessage();
|
||||
|
Loading…
Reference in New Issue
Block a user