Merge pull request #48 from BentoBoxWorld/develop

Version 2.0.3
This commit is contained in:
tastybento 2023-04-16 16:17:51 -07:00 committed by GitHub
commit 653b7f4e63
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
4 changed files with 1197 additions and 1183 deletions

View File

@ -65,7 +65,7 @@
<!-- Do not change unless you want different name for local builds. -->
<build.number>-LOCAL</build.number>
<!-- This allows to change between versions. -->
<build.version>2.0.2</build.version>
<build.version>2.0.3</build.version>
<sonar.projectKey>BentoBoxWorld_Boxed</sonar.projectKey>
<sonar.organization>bentobox-world</sonar.organization>

View File

@ -72,11 +72,11 @@ public class AdvancementsManager {
while (ad.hasNext()) {
Advancement a = ad.next();
int score = getScore(a);
BentoBox.getInstance().logDebug(" 'minecraft:" + a.getKey().getKey() + "': " + score);
BentoBox.getInstance().logDebug(" 'minecraft:" + a.getKey().getKey() + "': " + score);
scoreTotal += score;
}
BentoBox.getInstance().logDebug("Sum total = " + scoreTotal);
*/
*/
}
/**
@ -242,7 +242,7 @@ public class AdvancementsManager {
* @param a - advancement
* @return score of advancement, or 0 if cannot be worked out
*/
public int getScore(Advancement a) {
public int getScore(Advancement a) {
String adv = "advancements." + a.getKey().getKey();
// Unknowns
if (adv.endsWith("/root")) {

File diff suppressed because it is too large Load Diff

View File

@ -353,6 +353,17 @@ area:
# Grant these advancements
grant-advancements:
- minecraft:story/root
#- platy:building/root
#- platy:caving/root
#- platy:combat/root
#- platy:exploration/root
#- platy:forestry/root
#- platy:livestock/root
#- platy:nether_structures/root
#- platy:ocean/root
#- platy:redstone/root
#- platy:collection/root
#- platy:village/root
on-leave:
# What the plugin should reset when the player leaves or is kicked from an area
# Reset Money - if this is true, will reset the player's money to the starting money