entityhider: Hide npcs on death. (#1195)

This commit is contained in:
Ganom
2019-07-30 10:34:04 -04:00
committed by Kyleeld
parent 659bfe889c
commit 252b3bb06b
5 changed files with 49 additions and 9 deletions

View File

@@ -142,6 +142,17 @@ public interface EntityHiderConfig extends Config
return "";
}
@ConfigItem(
position = 10,
keyName = "hideNPCsOnDeath",
name = "Hide NPCs On Death",
description = "Configures which NPCs to hide when they die"
)
default String hideNPCsOnDeath()
{
return "";
}
@ConfigItem(
position = 11,
keyName = "hideProjectiles",

View File

@@ -108,6 +108,7 @@ public class EntityHiderPlugin extends Plugin
client.setNPCsHidden(config.hideNPCs());
client.setNPCsHidden2D(config.hideNPCs2D());
client.setNPCsNames(config.hideNPCsNames());
client.setNPCsHiddenOnDeath(config.hideNPCsOnDeath());
client.setAttackersHidden(config.hideAttackers());