entityhider: Hide npcs on death. (#1195)
This commit is contained in:
@@ -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",
|
||||
|
||||
@@ -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());
|
||||
|
||||
|
||||
Reference in New Issue
Block a user