reformat code

This commit is contained in:
FalsePattern committed 2023-03-30 17:40:30 +02:00
1 parent 3890efe317
commit 17760f2c0c
10 files changed
+115 -75

No files matched your search

@@ -18,22 +18,28 @@ import java.util.Set;
/**
* This class is used to register ChunkDataManagers.
*
* @see ChunkDataManager
*/
public class ChunkDataRegistry {
/**
* Registers a ChunkDataManager. Only do this during the preInit phase.
*
* @param manager The manager to register.
* @throws IllegalStateException If the registration stage is over.
*
* @throws IllegalStateException If the registration stage is over.
* @throws IllegalArgumentException If the manager has a duplicate id.
*/
public static void registerDataManager(ChunkDataManager manager) throws IllegalStateException, IllegalArgumentException {
public static void registerDataManager(ChunkDataManager manager)
throws IllegalStateException, IllegalArgumentException {
ChunkDataRegistryImpl.registerDataManager(manager);
}
/**
* Disables a ChunkDataManager. Only do this during the preInit phase.
*
* @param id The id of the manager to disable.
*
* @throws IllegalStateException If the disable stage is over.
*/
public static void disableDataManager(String domain, String id) throws IllegalStateException {