Merge pull request 'bugfix 🪱 fixed missing symbol error' (#75) from bugfix/remove_anvill_costcap into main
Reviewed-on: #75
This commit was merged in pull request #75.
This commit is contained in:
@@ -32,7 +32,7 @@ public class KillListener implements Listener {
|
|||||||
if(event.getEntity() instanceof Player && this.gameManager.getConfigManager().GetBool("back_command")){
|
if(event.getEntity() instanceof Player && this.gameManager.getConfigManager().GetBool("back_command")){
|
||||||
Location death = ((Player) event.getEntity()).getPlayer().getLocation();
|
Location death = ((Player) event.getEntity()).getPlayer().getLocation();
|
||||||
UUID uuid = ((Player) event.getEntity()).getPlayer().getUniqueId();
|
UUID uuid = ((Player) event.getEntity()).getPlayer().getUniqueId();
|
||||||
this.gameManager.getPlugin().getPlayerDataConfig().set("" + uuid + ".death", death);
|
this.gameManager.getPlugin().getPlayerDataConfig().set(uuid + ".death", death);
|
||||||
} else if(event.getEntity() instanceof Animals) {
|
} else if(event.getEntity() instanceof Animals) {
|
||||||
if(event.getEntity().toString() == "CraftPig" && this.gameManager.getConfigManager().GetBool("custom_drops")){
|
if(event.getEntity().toString() == "CraftPig" && this.gameManager.getConfigManager().GetBool("custom_drops")){
|
||||||
amounts = new int[]{ 2,2 };
|
amounts = new int[]{ 2,2 };
|
||||||
|
|||||||
Reference in New Issue
Block a user