22w14a
This commit is contained in:
1 parent
fca98c7b37
commit
812d361af2
26 files changed
+74
-51
No files matched your search
@@ -6,6 +6,8 @@ import java.text.NumberFormat;
|
||||
import java.util.ArrayList;
|
||||
import java.util.Collections;
|
||||
import java.util.List;
|
||||
|
||||
import net.minecraft.Util;
|
||||
import net.minecraft.core.BlockPos;
|
||||
import net.minecraft.core.particles.ParticleTypes;
|
||||
import net.minecraft.server.level.ServerLevel;
|
||||
@@ -230,7 +232,7 @@ public class OptimizedExplosion
|
||||
if (damagesTerrain)
|
||||
{
|
||||
ObjectArrayList<Pair<ItemStack, BlockPos>> objectArrayList = new ObjectArrayList<>();
|
||||
Collections.shuffle(e.getToBlow(), world.random);
|
||||
Util.shuffle(e.getToBlow(), world.random);
|
||||
|
||||
for (BlockPos blockpos : e.getToBlow())
|
||||
{
|
||||
|
||||
Reference in new issue
Block a user