Skip to content

Commit

Permalink
Fixed a bug with checking drowners
Browse files Browse the repository at this point in the history
  • Loading branch information
KarlOfDuty committed Nov 16, 2018
1 parent 2a96fd3 commit f8c3b3b
Show file tree
Hide file tree
Showing 4 changed files with 39 additions and 34 deletions.
67 changes: 36 additions & 31 deletions .idea/workspace.xml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@

<groupId>com.karlofduty</groupId>
<artifactId>GoldDropRemover</artifactId>
<version>0.2.0</version>
<version>0.2.1</version>

<properties>
<maven.compiler.source>1.8</maven.compiler.source>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ public class EntityDeathHandler implements Listener
@EventHandler
public void onDeath(EntityDeathEvent event)
{
if(!(event.getEntity() instanceof PigZombie) || event.getEntity() instanceof Drowned)
if(!(event.getEntity() instanceof PigZombie || event.getEntity() instanceof Drowned))
{
return;
}
Expand Down
2 changes: 1 addition & 1 deletion src/main/resources/plugin.yml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
name: GoldDropRemover
version: 0.2.0
version: 0.2.1
author: Karl Essinger (KarlofDuty)
website: http://karlofduty.com
main: com.karlofduty.GoldDropRemover.GoldDropRemover

0 comments on commit f8c3b3b

Please sign in to comment.