Skip to content

Commit

Permalink
1.0.3
Browse files Browse the repository at this point in the history
  • Loading branch information
Wertik committed Aug 12, 2020
1 parent d877a54 commit d768d33
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 @@ -6,7 +6,7 @@

<groupId>space.devport.wertik.firstdeathrewards</groupId>
<artifactId>FirstDeathRewards</artifactId>
<version>1.0.1</version>
<version>1.0.2</version>

<name>FirstDeathRewards</name>

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,8 @@ public void onDeath(PlayerDeathEvent event) {
event.setKeepInventory(plugin.getConfig().getBoolean("keep-inventory", false));
event.setKeepLevel(plugin.getConfig().getBoolean("keep-exp", false));

event.getDrops().clear();

plugin.getDataManager().getReward().give(player);
}
}

0 comments on commit d768d33

Please sign in to comment.