Skip to content

Commit

Permalink
Fix round_down/up
Browse files Browse the repository at this point in the history
also mongo meta fix and wordlist sponsor self-advertising removal
  • Loading branch information
mcmonkey4eva committed Nov 27, 2022
1 parent 68dd103 commit 733ada6
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 6 deletions.
Expand Up @@ -2113,7 +2113,7 @@ public static void registerTags() {
attribute.echoError("Element '" + ele + "' is not a valid decimal number!");
return null;
}
return new ElementTag(ele.asBigDecimal().setScale(0, RoundingMode.UP));
return new ElementTag(ele.asBigDecimal().setScale(0, RoundingMode.CEILING));
});

// <--[tag]
Expand All @@ -2128,7 +2128,7 @@ public static void registerTags() {
attribute.echoError("Element '" + ele + "' is not a valid decimal number!");
return null;
}
return new ElementTag(ele.asBigDecimal().setScale(0, RoundingMode.DOWN));
return new ElementTag(ele.asBigDecimal().setScale(0, RoundingMode.FLOOR));
});

// <--[tag]
Expand Down
Expand Up @@ -88,7 +88,7 @@ public MongoCommand() {
//
// @Usage
// Run a simple command.
// - ~mongo id:name command:<map[dbStats=1]>
// - ~mongo id:name command:[dbStats=1]
//
// @Usage
// Run more complex commands.
Expand All @@ -99,7 +99,7 @@ public MongoCommand() {
//
// @Usage
// Simple find query.
// - ~mongo id:name find:<map[name=Bob]>
// - ~mongo id:name find:[name=Bob]
//
// @Usage
// Complex find query with query filters.
Expand Down
Expand Up @@ -92,11 +92,11 @@ public class QueueWordList {
public static final String[] donorList = new String[] {
"DeclanCaff", "Greenleeuw", "Apademide", "BredyAK", "Nomadjimbob", "Baivo", "Darwin1546", "Aikovdp", "Jumpsplat", "N1msy", "Ms2221", "Xarieste", "JonatanLaMerce",
"1thebeast", "Voxlltv", "RSNFreud", "Adw123", "Bullesta", "BehrRiley", "Jaminb2030", "TornixNoVega", "TheInventorist", "Deadadm1n", "Mervinvb", "Miamibluerecords",
"Hades5514", "Ph4i1ur3", "Questercraft", "Nurfuis", "Facundo-Barbera", "Cowbilet", "Fortifier42", "MisterGank", "Noiknez", "CriticalMC", "New2pc", "Possumthecreator",
"Hades5514", "Ph4i1ur3", "Nurfuis", "Facundo-Barbera", "Cowbilet", "Fortifier42", "MisterGank", "Noiknez", "CriticalMC", "New2pc", "Possumthecreator",
"Nestesio", "Insilvon", "PsychoLynx", "Blockcraftteam", "Gominecraft", "NextoEsKawii", "MrMaleficus", "RlGoma", "SXRWahrheit", "Mergu", "Zozer", "Creaturesofhabit",
"Crckdns", "Berufeng", "PirateEra", "The-Mr-Mango", "RepH3x", "Lasers-rgb", "Sirbandersnatch", "Misquoth", "GoDieBawb", "SlyyJacob", "AnthonyAMC", "Chrismwiggs",
"Mwthorn", "Rainpelt29", "FutureMaximus", "Kalebbroo", "ZARazor91", "Andarius68", "Mrhonbon", "Moepius", "XIdentified", "Jcg4678", "Srl4n", "Circenn5130"
// Note: excludes 1 unidentified donor and 1 self-advertising username
// Note: excludes 1 unidentified donor and 2 self-advertising usernames
};

static {
Expand Down

0 comments on commit 733ada6

Please sign in to comment.