Skip to content

Commit

Permalink
Merge pull request #371 from lokka30/3.4-dev
Browse files Browse the repository at this point in the history
v3.4.1 b625
  • Loading branch information
lokka30 authored Apr 2, 2022
2 parents 9b4eda7 + babb149 commit f8bc791
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 1 addition & 1 deletion pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@

<groupId>me.lokka30</groupId>
<artifactId>LevelledMobs</artifactId>
<version>3.4.0 b624</version>
<version>3.4.1 b625</version>
<packaging>jar</packaging>

<name>LevelledMobs</name>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -551,6 +551,8 @@ else if (dropBase instanceof CustomCommand) {

private boolean hasReachedChunkKillLimit(final @NotNull LivingEntityWrapper lmEntity){
final int maximumDeathInChunkThreshold = main.rulesManager.getMaximumDeathInChunkThreshold(lmEntity);
if (maximumDeathInChunkThreshold <= 0) return false;

return lmEntity.chunkKillcount >= maximumDeathInChunkThreshold;
}

Expand Down

0 comments on commit f8bc791

Please sign in to comment.