Skip to content

Commit 000cc62

Browse files
committed
Fixed getTestLegacyParticles incorrectly removing LegacyParticleTypes
1 parent 529aed1 commit 000cc62

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

wrappers/bukkit/src/test/java/it/fulminazzo/yagl/WrappersAdapterTest.java

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -55,8 +55,6 @@ private static Particle[] getTestLegacyParticles() {
5555
particles.add(new Tuple<>(LegacyParticleType.COMPOSTER_FILL_ATTEMPT, new PrimitiveParticleOption<>(true)));
5656
particles.add(new Tuple<>(LegacyParticleType.BONE_MEAL_USE, new PrimitiveParticleOption<>(1)));
5757
particles.add(new Tuple<>(LegacyParticleType.INSTANT_POTION_BREAK, new ColorParticleOption(Color.AQUA)));
58-
for (LegacyParticleType<?> type : LegacyParticleType.legacyValues())
59-
particles.removeIf(t -> t.getKey().name().equalsIgnoreCase(type.name()));
6058
// Remove effects not belonging to current Minecraft version
6159
particles.removeIf(p -> {
6260
try {

0 commit comments

Comments
 (0)