Merge holocore/quality_assurance into buffs

Conflicts:
	src/services/galaxy/GameManager.java
This commit is contained in:
Mads Boddum
2016-10-10 15:50:38 +02:00
75 changed files with 4062 additions and 1367 deletions
@@ -98,7 +98,8 @@ public class PlayerObject extends IntangibleObject {
return play3.getPlayTime();
}
public void setPlayTime(int playTime) {
public void updatePlayTime() {
int playTime = (int) (System.currentTimeMillis() / 1000);
play3.setPlayTime(playTime);
sendDelta(3, 9, playTime);
}
@@ -339,19 +340,19 @@ public class PlayerObject extends IntangibleObject {
public boolean addJoinedChannel(String path) {
synchronized (joinedChannels) {
return true;
// return true;
// TODO: Refactor
/*System.out.println("add joined channel: " + path);
return !joinedChannels.contains(path) && joinedChannels.add(path);*/
// System.out.println("add joined channel: " + path);
return !joinedChannels.contains(path) && joinedChannels.add(path);
}
}
public boolean removeJoinedChannel(String path) {
synchronized (joinedChannels) {
return true;
// return true;
// TODO: Refactor
/*System.out.println("remove joined channel: " + path);
return joinedChannels.remove(path);*/
// System.out.println("remove joined channel: " + path);
return joinedChannels.remove(path);
}
}