chat command: use plural "players" to be consistent with cox
This commit is contained in:
@@ -400,7 +400,7 @@ public class ChatCommandsPlugin extends Plugin
|
|||||||
{
|
{
|
||||||
// TOB team size isn't sent in the kill message, but can be computed from varbits
|
// TOB team size isn't sent in the kill message, but can be computed from varbits
|
||||||
int tobTeamSize = tobTeamSize();
|
int tobTeamSize = tobTeamSize();
|
||||||
lastTeamSize = tobTeamSize == 1 ? "Solo" : (tobTeamSize + " player");
|
lastTeamSize = tobTeamSize == 1 ? "Solo" : (tobTeamSize + " players");
|
||||||
}
|
}
|
||||||
|
|
||||||
final double pb = getPb(renamedBoss);
|
final double pb = getPb(renamedBoss);
|
||||||
@@ -2065,13 +2065,13 @@ public class ChatCommandsPlugin extends Plugin
|
|||||||
return "Theatre of Blood Solo";
|
return "Theatre of Blood Solo";
|
||||||
case "tob 2":
|
case "tob 2":
|
||||||
case "tob duo":
|
case "tob duo":
|
||||||
return "Theatre of Blood 2 player";
|
return "Theatre of Blood 2 players";
|
||||||
case "tob 3":
|
case "tob 3":
|
||||||
return "Theatre of Blood 3 player";
|
return "Theatre of Blood 3 players";
|
||||||
case "tob 4":
|
case "tob 4":
|
||||||
return "Theatre of Blood 4 player";
|
return "Theatre of Blood 4 players";
|
||||||
case "tob 5":
|
case "tob 5":
|
||||||
return "Theatre of Blood 5 player";
|
return "Theatre of Blood 5 players";
|
||||||
|
|
||||||
// Theatre of Blood Entry Mode
|
// Theatre of Blood Entry Mode
|
||||||
case "theatre of blood: story mode":
|
case "theatre of blood: story mode":
|
||||||
@@ -2097,13 +2097,13 @@ public class ChatCommandsPlugin extends Plugin
|
|||||||
return "Theatre of Blood Hard Mode Solo";
|
return "Theatre of Blood Hard Mode Solo";
|
||||||
case "hmt 2":
|
case "hmt 2":
|
||||||
case "hmt duo":
|
case "hmt duo":
|
||||||
return "Theatre of Blood Hard Mode 2 player";
|
return "Theatre of Blood Hard Mode 2 players";
|
||||||
case "hmt 3":
|
case "hmt 3":
|
||||||
return "Theatre of Blood Hard Mode 3 player";
|
return "Theatre of Blood Hard Mode 3 players";
|
||||||
case "hmt 4":
|
case "hmt 4":
|
||||||
return "Theatre of Blood Hard Mode 4 player";
|
return "Theatre of Blood Hard Mode 4 players";
|
||||||
case "hmt 5":
|
case "hmt 5":
|
||||||
return "Theatre of Blood Hard Mode 5 player";
|
return "Theatre of Blood Hard Mode 5 players";
|
||||||
|
|
||||||
// The Gauntlet
|
// The Gauntlet
|
||||||
case "gaunt":
|
case "gaunt":
|
||||||
|
|||||||
@@ -182,7 +182,7 @@ public class ChatCommandsPluginTest
|
|||||||
|
|
||||||
verify(configManager).setRSProfileConfiguration("killcount", "theatre of blood", 73);
|
verify(configManager).setRSProfileConfiguration("killcount", "theatre of blood", 73);
|
||||||
verify(configManager).setRSProfileConfiguration("personalbest", "theatre of blood", 17 * 60 + .2);
|
verify(configManager).setRSProfileConfiguration("personalbest", "theatre of blood", 17 * 60 + .2);
|
||||||
verify(configManager).setRSProfileConfiguration("personalbest", "theatre of blood 2 player", 17 * 60 + .2);
|
verify(configManager).setRSProfileConfiguration("personalbest", "theatre of blood 2 players", 17 * 60 + .2);
|
||||||
}
|
}
|
||||||
|
|
||||||
@Test
|
@Test
|
||||||
|
|||||||
Reference in New Issue
Block a user