mirror of
https://github.com/Minestom/Minestom.git
synced 2024-11-12 13:44:28 +01:00
Added annotations (#1161)
This commit is contained in:
parent
7be96b7679
commit
bb3c232256
@ -137,31 +137,31 @@ public final class MinecraftServer {
|
||||
return serverProcess.eventHandler();
|
||||
}
|
||||
|
||||
public static PacketListenerManager getPacketListenerManager() {
|
||||
public static @NotNull PacketListenerManager getPacketListenerManager() {
|
||||
return serverProcess.packetListener();
|
||||
}
|
||||
|
||||
public static InstanceManager getInstanceManager() {
|
||||
public static @NotNull InstanceManager getInstanceManager() {
|
||||
return serverProcess.instance();
|
||||
}
|
||||
|
||||
public static BlockManager getBlockManager() {
|
||||
public static @NotNull BlockManager getBlockManager() {
|
||||
return serverProcess.block();
|
||||
}
|
||||
|
||||
public static CommandManager getCommandManager() {
|
||||
public static @NotNull CommandManager getCommandManager() {
|
||||
return serverProcess.command();
|
||||
}
|
||||
|
||||
public static RecipeManager getRecipeManager() {
|
||||
public static @NotNull RecipeManager getRecipeManager() {
|
||||
return serverProcess.recipe();
|
||||
}
|
||||
|
||||
public static TeamManager getTeamManager() {
|
||||
public static @NotNull TeamManager getTeamManager() {
|
||||
return serverProcess.team();
|
||||
}
|
||||
|
||||
public static SchedulerManager getSchedulerManager() {
|
||||
public static @NotNull SchedulerManager getSchedulerManager() {
|
||||
return serverProcess.scheduler();
|
||||
}
|
||||
|
||||
@ -170,23 +170,23 @@ public final class MinecraftServer {
|
||||
*
|
||||
* @return the benchmark manager
|
||||
*/
|
||||
public static BenchmarkManager getBenchmarkManager() {
|
||||
public static @NotNull BenchmarkManager getBenchmarkManager() {
|
||||
return serverProcess.benchmark();
|
||||
}
|
||||
|
||||
public static ExceptionManager getExceptionManager() {
|
||||
public static @NotNull ExceptionManager getExceptionManager() {
|
||||
return serverProcess.exception();
|
||||
}
|
||||
|
||||
public static ConnectionManager getConnectionManager() {
|
||||
public static @NotNull ConnectionManager getConnectionManager() {
|
||||
return serverProcess.connection();
|
||||
}
|
||||
|
||||
public static BossBarManager getBossBarManager() {
|
||||
public static @NotNull BossBarManager getBossBarManager() {
|
||||
return serverProcess.bossBar();
|
||||
}
|
||||
|
||||
public static PacketProcessor getPacketProcessor() {
|
||||
public static @NotNull PacketProcessor getPacketProcessor() {
|
||||
return serverProcess.packetProcessor();
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user