Added annotations (#1161)

This commit is contained in:
Ativendus 2022-06-12 20:41:50 +02:00 committed by GitHub
parent 7be96b7679
commit bb3c232256
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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();
}