Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 1 addition & 6 deletions src/content/docs/paper/dev/api/folia-support.md
Original file line number Diff line number Diff line change
Expand Up @@ -30,12 +30,7 @@ use this utility method to check if the current server is running Folia:

```java
private static boolean isFolia() {
try {
Class.forName("io.papermc.paper.threadedregions.RegionizedServer");
return true;
} catch (ClassNotFoundException e) {
return false;
}
return ServerBuildInfo.buildInfo().isBrandCompatible(Key.key("papermc", "folia"));
}
```

Expand Down