mirror of
https://github.com/mcMMO-Dev/mcMMO.git
synced 2025-06-27 11:14:44 +02:00
Fixing Daze, Counter-Attack, and Serrated Strikes hover tip messages containing {0}
This commit is contained in:
@ -22,7 +22,7 @@ public class BleedTimerTask extends BukkitRunnable {
|
||||
private static Map<LivingEntity, BleedContainer> bleedList = new HashMap<LivingEntity, BleedContainer>();
|
||||
|
||||
@Override
|
||||
synchronized public void run() {
|
||||
public void run() {
|
||||
Iterator<Entry<LivingEntity, BleedContainer>> bleedIterator = bleedList.entrySet().iterator();
|
||||
|
||||
while (bleedIterator.hasNext()) {
|
||||
@ -108,7 +108,7 @@ public class BleedTimerTask extends BukkitRunnable {
|
||||
* @param entity LivingEntity to add
|
||||
* @param ticks Number of bleeding ticks
|
||||
*/
|
||||
public synchronized static void add(LivingEntity entity, LivingEntity attacker, int ticks, int bleedRank) {
|
||||
public static void add(LivingEntity entity, LivingEntity attacker, int ticks, int bleedRank) {
|
||||
BleedContainer newBleedContainer = new BleedContainer(entity, ticks, bleedRank, attacker);
|
||||
bleedList.put(entity, newBleedContainer);
|
||||
}
|
||||
|
Reference in New Issue
Block a user