Skip to content

Commit

Permalink
remove debug message
Browse files Browse the repository at this point in the history
  • Loading branch information
Brokkonaut committed Feb 6, 2023
1 parent e45f660 commit 38d470c
Showing 1 changed file with 0 additions and 4 deletions.
Expand Up @@ -58,14 +58,12 @@ public NMSUtils getNMSUtils() {

@Override
public CustomBiome registerCustomBiome(NamespacedKey id, float downfall, float temperature, de.cubeside.nmsutils.biome.Precipitation precipitation, Integer fogColor, Integer waterColor, Integer waterFogColor, Integer skyColor, Integer foliageColor, Integer grassColor) {
nmsUtils.getPlugin().getLogger().warning("Injecting biome " + id + "!");
Server server = nmsUtils.getPlugin().getServer();
CraftServer craftserver = (CraftServer) server;
DedicatedServer dedicatedserver = craftserver.getServer();
ResourceKey<Biome> newKey = ResourceKey.create(Registries.BIOME, new ResourceLocation(id.getNamespace(), id.getKey()));

ResourceKey<Biome> oldKey = Biomes.FOREST;
//
WritableRegistry<Biome> registrywritable = (WritableRegistry<Biome>) dedicatedserver.registryAccess().registryOrThrow(Registries.BIOME);

try {
Expand Down Expand Up @@ -118,8 +116,6 @@ public CustomBiome registerCustomBiome(NamespacedKey id, float downfall, float t
customBiomes.put(id, impl);
customBiomesByBiome.put(newbiome, impl);

nmsUtils.getPlugin().getLogger().warning("Done injecting biome!");

return new CustomBiomeImpl(id, newKey, newbiome, biomeHolder);
}

Expand Down

0 comments on commit 38d470c

Please sign in to comment.