mirror of
https://github.com/PolyhedralDev/Terra.git
synced 2026-06-17 22:31:52 +00:00
add ALL tag to ephemeral biome
This commit is contained in:
+4
-1
@@ -1,6 +1,7 @@
|
|||||||
package com.dfsek.terra.addons.biome.pipeline.api.delegate;
|
package com.dfsek.terra.addons.biome.pipeline.api.delegate;
|
||||||
|
|
||||||
import java.util.Collections;
|
import java.util.Collections;
|
||||||
|
import java.util.HashSet;
|
||||||
import java.util.Set;
|
import java.util.Set;
|
||||||
|
|
||||||
import com.dfsek.terra.api.world.biome.Biome;
|
import com.dfsek.terra.api.world.biome.Biome;
|
||||||
@@ -12,7 +13,9 @@ final class EphemeralBiomeDelegate implements BiomeDelegate {
|
|||||||
|
|
||||||
public EphemeralBiomeDelegate(String id) {
|
public EphemeralBiomeDelegate(String id) {
|
||||||
this.id = id;
|
this.id = id;
|
||||||
tags = Collections.singleton(id);
|
tags = new HashSet<>();
|
||||||
|
tags.add(id);
|
||||||
|
tags.add("ALL");
|
||||||
}
|
}
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
|
|||||||
Reference in New Issue
Block a user