Fix Menuoverload (#270)
* To be fixed later. * To be fixed later. * Update PlayerIndicatorsPlugin.java
This commit is contained in:
@@ -296,7 +296,7 @@ public interface PlayerIndicatorsConfig extends Config
|
||||
return false;
|
||||
}
|
||||
|
||||
@ConfigItem(
|
||||
/* @ConfigItem(
|
||||
position = 23,
|
||||
keyName = "rightClickOverhead",
|
||||
name = "Add Overheads to Right Click Menu",
|
||||
@@ -305,7 +305,7 @@ public interface PlayerIndicatorsConfig extends Config
|
||||
default boolean rightClickOverhead()
|
||||
{
|
||||
return false;
|
||||
}
|
||||
}*/
|
||||
|
||||
@ConfigItem(
|
||||
keyName = "useClanchatRanks",
|
||||
|
||||
@@ -287,7 +287,7 @@ public class PlayerIndicatorsPlugin extends Plugin
|
||||
{
|
||||
color = config.getTargetColor();
|
||||
}
|
||||
if (config.rightClickOverhead() && !player.isClanMember() && player.getOverheadIcon() != null)
|
||||
/* if (config.rightClickOverhead() && !player.isClanMember() && player.getOverheadIcon() != null)
|
||||
{
|
||||
if (player.getOverheadIcon().equals(HeadIcon.MAGIC))
|
||||
{
|
||||
@@ -313,8 +313,7 @@ public class PlayerIndicatorsPlugin extends Plugin
|
||||
{
|
||||
image = 34;
|
||||
}
|
||||
|
||||
}
|
||||
}*/
|
||||
if (config.playerSkull() && !player.isClanMember() && player.getSkullIcon() != null)
|
||||
{
|
||||
image2 = 35;
|
||||
@@ -346,10 +345,10 @@ public class PlayerIndicatorsPlugin extends Plugin
|
||||
lastEntry.setTarget(ColorUtil.prependColorTag(target, color));
|
||||
}
|
||||
|
||||
if (image != -1 && config.showClanRanks() || image != -1 && config.rightClickOverhead())
|
||||
/* if (image != -1 && config.showClanRanks() || image != -1 && config.rightClickOverhead())
|
||||
{
|
||||
lastEntry.setTarget(lastEntry.getTarget() + "<img=" + image + ">");
|
||||
}
|
||||
}*/
|
||||
if (image2 != -1 && config.playerSkull())
|
||||
{
|
||||
lastEntry.setTarget("<img=" + image2 + ">" + lastEntry.getTarget());
|
||||
|
||||
Reference in New Issue
Block a user