Skip to content
Browse files

Fix arguments.

Signed-off-by: Robert Xu <robxu9@gmail.com>
  • Loading branch information...
1 parent f670f2f commit ca90f0e00644948585e84bdcb44e32b423b7a579 @robxu9 robxu9 committed Mar 30, 2012
View
5 src/main/java/com/theminequest/MineQuest/Frontend/Command/QuestCommandFrontend.java
@@ -28,6 +28,11 @@
public class QuestCommandFrontend implements CommandExecutor {
+ /*
+ * TODO list:
+ * discard quest function?
+ */
+
private PropertiesFile localization;
public QuestCommandFrontend(){
View
2 src/main/java/com/theminequest/MineQuest/Group/Group.java
@@ -46,6 +46,6 @@
/*
* GroupManager usage
*/
- void lockTeam();
+ void lockGroup();
}
View
2 src/main/java/com/theminequest/MineQuest/Group/GroupManager.java
@@ -150,7 +150,7 @@ private synchronized void disposeInvite(Player p) {
* Only called by Team objects when everyone leaves the team.
*/
protected synchronized void removeEmptyTeam(long id){
- groups.get(id).lockTeam();
+ groups.get(id).lockGroup();
groups.put(id, null);
}
View
2 src/main/java/com/theminequest/MineQuest/Group/SuperTeam.java
@@ -153,7 +153,7 @@ public void moveBackToLocations() throws GroupException {
}
@Override
- public void lockTeam() {
+ public void lockGroup() {
// TODO Auto-generated method stub
}
View
2 src/main/java/com/theminequest/MineQuest/Group/Team.java
@@ -81,7 +81,7 @@ public synchronized void setLeader(Player p) throws GroupException{
* This should help Java trigger GC on this object.
*/
@Override
- public void lockTeam(){
+ public void lockGroup(){
capacity = 0;
}

0 comments on commit ca90f0e

Please sign in to comment.
Something went wrong with that request. Please try again.