Extra equals

This commit is contained in:
bm01 2012-06-15 02:34:24 +02:00
parent 064c16f4d7
commit ba133f94fc
2 changed files with 3 additions and 3 deletions

View File

@ -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();
}

View File

@ -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();