Skip to content

Commit

Permalink
Release 1.0.2
Browse files Browse the repository at this point in the history
  • Loading branch information
wode490390 committed Aug 13, 2020
1 parent f8f2371 commit a33d0b1
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 4 deletions.
6 changes: 6 additions & 0 deletions .github/dependabot.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
version: 2
updates:
- package-ecosystem: "maven"
directory: "/"
schedule:
interval: "daily"
4 changes: 2 additions & 2 deletions pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
<groupId>cn.wode490390.nukkit</groupId>
<artifactId>vipop</artifactId>
<packaging>jar</packaging>
<version>1.0.1</version>
<version>1.0.2</version>
<name>Classic Village Populator</name>
<description>This is a plugin that implements the old village feature for Nukkit servers</description>
<url>http://wode490390.cn/</url>
Expand Down Expand Up @@ -90,7 +90,7 @@
<plugin>
<groupId>pl.project13.maven</groupId>
<artifactId>git-commit-id-plugin</artifactId>
<version>4.0.0</version>
<version>4.0.2</version>
<executions>
<execution>
<id>get-the-git-infos</id>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -360,10 +360,10 @@ protected void spawnVillagers(ChunkManager level, BoundingBox boundingBox, int x
CompoundTag nbt = Entity.getDefaultNBT(new Vector3(worldX + .5, worldY, worldZ + .5));

if (this.isZombieVillage) {
nbt.putString("id", "ZombieVillagerV1")
nbt.putString("id", "ZombieVillager") // ZombieVillagerV1
.putInt("Profession", this.getVillagerProfession(count, EntityVillagerV1.PROFESSION_FARMER));
} else {
nbt.putString("id", "VillagerV1")
nbt.putString("id", "Villager") // VillagerV1
.putInt("Profession", this.getVillagerProfession(count, ThreadLocalRandom.current().nextInt(6)));
}

Expand Down

0 comments on commit a33d0b1

Please sign in to comment.