Refactoring

See github line by line comments in 'File changed'
This commit is contained in:
vraskulin 2016-12-29 16:49:12 +03:00
parent c0cf22bbf7
commit f04ba151f7
52 changed files with 87 additions and 220 deletions

View file

@ -51,7 +51,7 @@ public class BloodthirstWatcher extends Watcher {
@Override
public void watch(GameEvent event, Game game) {
if (condition == true) { //no need to check - condition has already occured
if (condition) { //no need to check - condition has already occured
return;
}
if (event.getType() == GameEvent.EventType.DAMAGED_PLAYER) {