mirror of
https://github.com/BentoBoxWorld/Boxed.git
synced 2024-09-30 04:18:05 +02:00
commit
653b7f4e63
2
pom.xml
2
pom.xml
@ -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>
|
||||
|
@ -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
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user