Prevent unnecessary overwriting of the action bar when there is nothing

to put there.
dev
sigonasr2 9 years ago
parent 1bb9d2727b
commit 6be55e3cf2
  1. BIN
      TwosideKeeper.jar
  2. 4
      src/sig/plugin/TwosideKeeper/ActionBarBuffUpdater.java

Binary file not shown.

@ -45,7 +45,11 @@ public class ActionBarBuffUpdater{
effectString.append(" ");
}
}
if (effectString.length()>0) {
return effectString.toString()+ChatColor.RESET;
} else {
return "";
}
}
private static String ParseEffect(LivingEntity p, PotionEffect pe) {

Loading…
Cancel
Save