Mirror von
https://github.com/ViaVersion/ViaBackwards.git
synchronisiert 2024-12-25 15:50:12 +01:00
Ursprung
9675bbd8fe
Commit
da75e1957f
@ -468,7 +468,7 @@ public final class BlockItemPacketRewriter1_21_2 extends BackwardsStructuredItem
|
|||||||
for (int i = 0; i < effects.size(); i++) {
|
for (int i = 0; i < effects.size(); i++) {
|
||||||
final CompoundTag effectTag = effects.get(i);
|
final CompoundTag effectTag = effects.get(i);
|
||||||
final int effect = effectTag.getInt("effect");
|
final int effect = effectTag.getInt("effect");
|
||||||
final PotionEffectData data = convertPotionEffectData(effectTag.getCompoundTag("data"));
|
final PotionEffectData data = convertPotionEffectData(effectTag);
|
||||||
potionEffects[i] = new PotionEffect(effect, data);
|
potionEffects[i] = new PotionEffect(effect, data);
|
||||||
}
|
}
|
||||||
final float probability = tag.getFloat("probability");
|
final float probability = tag.getFloat("probability");
|
||||||
|
Laden…
In neuem Issue referenzieren
Einen Benutzer sperren