Skip to content

Commit

Permalink
Hotfix of onIsland challenges broken in 2.7.0
Browse files Browse the repository at this point in the history
  • Loading branch information
rlf committed Jul 6, 2016
1 parent 80aa542 commit 47aaa9c
Show file tree
Hide file tree
Showing 5 changed files with 6 additions and 62 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@
* The data-object for a challenge
*/
public class Challenge {
public static final Pattern REQ_PATTERN = Pattern.compile("(?<type>[0-9]+)(:(?<subtype>[0-9]+))?:(?<amount>[0-9]+)(;(?<op>[+\\-*])(?<inc>[0-9]+))\\s*?(?<meta>\\{.*\\})?");
public static final Pattern REQ_PATTERN = Pattern.compile("(?<type>[0-9]+)(:(?<subtype>[0-9]+))?:(?<amount>[0-9]+)(;(?<op>[+\\-*])(?<inc>[0-9]+))?\\s*(?<meta>\\{.*\\})?");
public static final int MAX_DETAILS = 11;

public enum Type { PLAYER, ISLAND, ISLAND_LEVEL;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -123,6 +123,9 @@ public void updateSigns(final Location... containerLocations) {
@Override
public void run() {
for (Location loc : containerLocations) {
if (loc == null) {
continue;
}
long x1 = (long) Math.floor(loc.getX());
long x2 = Math.round(loc.getX());
long z1 = (long) Math.floor(loc.getZ());
Expand Down
3 changes: 1 addition & 2 deletions uSkyBlock-Core/src/main/po/de.po
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
# Copyright (C) YEAR THE PACKAGE'S COPYRIGHT HOLDER
# This file is distributed under the same license as the PACKAGE package.
# FIRST AUTHOR <EMAIL@ADDRESS>, YEAR.
#
#
msgid ""
msgstr ""
"Project-Id-Version: 1.5\n"
Expand All @@ -20,7 +20,6 @@ msgstr ""
"X-Loco-Parser: loco_parse_po\n"
"X-Loco-Target-Locale: zz_ZZ\n"
"X-Generator: Poedit 1.8.8\n"
"POT-Creation-Date: \n"

#, java-format
msgid "§4Requirements will reset in {0} days."
Expand Down
30 changes: 1 addition & 29 deletions uSkyBlock-Core/src/main/po/en_GB.po
Original file line number Diff line number Diff line change
Expand Up @@ -2,12 +2,11 @@
# Copyright (C) YEAR THE PACKAGE'S COPYRIGHT HOLDER
# This file is distributed under the same license as the PACKAGE package.
# FIRST AUTHOR <EMAIL@ADDRESS>, YEAR.
#
#
msgid ""
msgstr ""
"Project-Id-Version: \n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: \n"
"PO-Revision-Date: 2016-07-05 23:28+0100\n"
"Last-Translator: dutchy1001\n"
"Language-Team: dutchy1001\n"
Expand Down Expand Up @@ -2590,30 +2589,3 @@ msgstr "s"
#, java-format
msgid "{0,number,0}:{1,number,00}.{2,number,000}"
msgstr "{0,number,0}:{1,number,00}.{2,number,000}"

#~ msgid "§4Sorry!§e A protect-all is already running. Let it complete first."
#~ msgstr ""
#~ "§4* Sorry!§7 A protect-all is already running. Let it complete first."

#~ msgid "§cPURGE:§9 Purged {0}/{1} {2,number,###}%"
#~ msgstr "§4* PURGE§7: Purged {0}/{1} {2,number,###}%"

#~ msgid "§eConverted "
#~ msgstr "§4* §7Converted "

#~ msgid "§a§lIsland Help"
#~ msgstr "§a§lIsland Help"

#~ msgid ""
#~ "Need help with skyblock\n"
#~ "concepts or commands? View\n"
#~ "details about them here.\n"
#~ "§e§lClick here for help!"
#~ msgstr ""
#~ "Need help with skyblock\n"
#~ "concepts or commands? View\n"
#~ "details about them here.\n"
#~ "§e§lClick here for help!"

#~ msgid "§4You are not part of an island. Returning you the spawn area!"
#~ msgstr "§4* §7You are not part of an island. Returning you the spawn area!"
30 changes: 0 additions & 30 deletions uSkyBlock-Core/src/main/po/nl.po
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@ msgid ""
msgstr ""
"Project-Id-Version: \n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: \n"
"PO-Revision-Date: 2016-07-05 22:53+0100\n"
"Last-Translator: dutchy1001\n"
"Language-Team: Debocraft\n"
Expand Down Expand Up @@ -2605,32 +2604,3 @@ msgstr "s"
#, java-format
msgid "{0,number,0}:{1,number,00}.{2,number,000}"
msgstr "{0,number,0}:{1,number,00}.{2,number,000}"

#~ msgid "§4Sorry!§e A protect-all is already running. Let it complete first."
#~ msgstr ""
#~ "§4Sorry!§e Een Protect-all wordt al uitgevoerd. Laat het eerst voltooien."

#~ msgid "§cPURGE:§9 Purged {0}/{1} {2,number,###}%"
#~ msgstr "§cVERWIJDER:§9 Verwijderd {0}/{1} {2,number,###}%"

#~ msgid "§eConverted "
#~ msgstr "§eConverted "

#~ msgid "§a§lIsland Help"
#~ msgstr "§a§lEiland Help"

#~ msgid ""
#~ "Need help with skyblock\n"
#~ "concepts or commands? View\n"
#~ "details about them here.\n"
#~ "§e§lClick here for help!"
#~ msgstr ""
#~ "Help nodig met skyblock\n"
#~ "concept of commando's?\n"
#~ "Bekijk details over hen hier.\n"
#~ "§e§lKlik hier voor hulp!"

#~ msgid "§4You are not part of an island. Returning you the spawn area!"
#~ msgstr ""
#~ "§4Je maakt geen deel uit van een eiland. Je word naar de spawn terug "
#~ "gestuurd!"

0 comments on commit 47aaa9c

Please sign in to comment.