Merge branch 'development'

This commit is contained in:
Brianna 2020-04-09 06:11:02 -04:00
commit 428e28a19c
2 changed files with 6 additions and 2 deletions

View File

@ -2,7 +2,7 @@
<groupId>com.songoda</groupId>
<artifactId>EpicFarming</artifactId>
<modelVersion>4.0.0</modelVersion>
<version>3.0.12</version>
<version>3.0.13</version>
<build>
<defaultGoal>clean install</defaultGoal>
<finalName>EpicFarming-${project.version}</finalName>
@ -85,6 +85,10 @@
<id>private</id>
<url>https://repo.songoda.com/artifactory/private/</url>
</repository>
<repository>
<id>public</id>
<url>https://repo.songoda.com/artifactory/public/</url>
</repository>
</repositories>
<dependencies>
<dependency>

View File

@ -64,7 +64,7 @@ public class ModuleAutoButcher extends Module {
entity.getLocation().getWorld().playSound(entity.getLocation(),
CompatibleSound.ENTITY_PLAYER_ATTACK_SWEEP.getSound(), 1L, 1L);
Bukkit.getScheduler().runTask(plugin, () -> {
entity.damage(99999999);
entity.damage(99999999, entity);
Methods.animate(farm.getLocation(), Material.IRON_SWORD);
});
return;