Port initial paperweight classes to 1.18 folder structure

This commit is contained in:
NotMyFault
2021-11-30 12:35:34 +01:00
parent 930025afac
commit e296a329c2
19 changed files with 8180 additions and 5 deletions

View File

@ -555,7 +555,7 @@ public class BukkitWorld extends AbstractWorld {
@Override
public boolean fullySupports3DBiomes() {
// Supports if API does and we're not in the overworld
return HAS_3D_BIOMES && getWorld().getEnvironment() != World.Environment.NORMAL;
return HAS_3D_BIOMES && getWorld().getEnvironment() != World.Environment.NORMAL || PaperLib.isVersion(18);
}
@SuppressWarnings("deprecation")