mirror of
https://github.com/ViaVersion/ViaBackwards.git
synced 2025-01-31 23:21:47 +01:00
parent
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");
|
||||||
|
Loading…
Reference in New Issue
Block a user