Начинающий
- Статус
- Оффлайн
- Регистрация
- 14 Авг 2021
- Сообщения
- 161
- Реакции
- 0
Короче мб у кого-то нету, сливаю фикс хп риливорлд для экспы 3.1 и 2.0:
2.0:
if (event instanceof EventRender && target != null && fixHP.get()) {
if (ClientUtil.isPvP()) {
target.setHealth(hpbypass);
} else {
target.setHealth(target.getMaxHealth() + target.getAbsorptionAmount());
hpbypass = target.getMaxHealth();
}
}
3.1:
@Subscribe
public void onDisplay(EventDisplay eventDisplay) {
if (this.target != null && ClientUtil.isConnectedToServer("reallyworld")) {
if (ClientUtil.isPvP()) {
this.target.setHealth(hpbypass);
} else {
this.target.setHealth(this.target.getMaxHealth() + this.target.getAbsorptionAmount());
hpbypass = this.target.getMaxHealth();
}
}
}