Implemented split combat levels
A split combat level (e.g. 50+5) will be displayed for a player when the player is on a PvP world and does not have a summoning pouch or a familiar summoned. A split combat level will also be shown if the player is on a world with wilderness PvP enabled, the player is in the wilderness, and does not have a summoning pouch or a familiar summoned. If the world is a PvP world, display other players' combat levels in white if they are outside of combat range, or shades of green/yellow/orange/red if they are within combat range. If the world is not a PvP world, always display other players' combat levels in shades of green/yellow/orange/red.
This commit is contained in:
@@ -45,7 +45,7 @@ public final class InventoryListener implements ContainerListener {
|
||||
}
|
||||
}
|
||||
player.getFamiliarManager().setHasPouch(pouch);
|
||||
if (hadPouch != pouch && player.getSkullManager().isWilderness()) {
|
||||
if (hadPouch != pouch) {
|
||||
player.getAppearance().sync();
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user