mirror of
https://github.com/Minestom/Minestom.git
synced 2025-01-01 14:07:43 +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();
|
return serverProcess.eventHandler();
|
||||||
}
|
}
|
||||||
|
|
||||||
public static PacketListenerManager getPacketListenerManager() {
|
public static @NotNull PacketListenerManager getPacketListenerManager() {
|
||||||
return serverProcess.packetListener();
|
return serverProcess.packetListener();
|
||||||
}
|
}
|
||||||
|
|
||||||
public static InstanceManager getInstanceManager() {
|
public static @NotNull InstanceManager getInstanceManager() {
|
||||||
return serverProcess.instance();
|
return serverProcess.instance();
|
||||||
}
|
}
|
||||||
|
|
||||||
public static BlockManager getBlockManager() {
|
public static @NotNull BlockManager getBlockManager() {
|
||||||
return serverProcess.block();
|
return serverProcess.block();
|
||||||
}
|
}
|
||||||
|
|
||||||
public static CommandManager getCommandManager() {
|
public static @NotNull CommandManager getCommandManager() {
|
||||||
return serverProcess.command();
|
return serverProcess.command();
|
||||||
}
|
}
|
||||||
|
|
||||||
public static RecipeManager getRecipeManager() {
|
public static @NotNull RecipeManager getRecipeManager() {
|
||||||
return serverProcess.recipe();
|
return serverProcess.recipe();
|
||||||
}
|
}
|
||||||
|
|
||||||
public static TeamManager getTeamManager() {
|
public static @NotNull TeamManager getTeamManager() {
|
||||||
return serverProcess.team();
|
return serverProcess.team();
|
||||||
}
|
}
|
||||||
|
|
||||||
public static SchedulerManager getSchedulerManager() {
|
public static @NotNull SchedulerManager getSchedulerManager() {
|
||||||
return serverProcess.scheduler();
|
return serverProcess.scheduler();
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -170,23 +170,23 @@ public final class MinecraftServer {
|
|||||||
*
|
*
|
||||||
* @return the benchmark manager
|
* @return the benchmark manager
|
||||||
*/
|
*/
|
||||||
public static BenchmarkManager getBenchmarkManager() {
|
public static @NotNull BenchmarkManager getBenchmarkManager() {
|
||||||
return serverProcess.benchmark();
|
return serverProcess.benchmark();
|
||||||
}
|
}
|
||||||
|
|
||||||
public static ExceptionManager getExceptionManager() {
|
public static @NotNull ExceptionManager getExceptionManager() {
|
||||||
return serverProcess.exception();
|
return serverProcess.exception();
|
||||||
}
|
}
|
||||||
|
|
||||||
public static ConnectionManager getConnectionManager() {
|
public static @NotNull ConnectionManager getConnectionManager() {
|
||||||
return serverProcess.connection();
|
return serverProcess.connection();
|
||||||
}
|
}
|
||||||
|
|
||||||
public static BossBarManager getBossBarManager() {
|
public static @NotNull BossBarManager getBossBarManager() {
|
||||||
return serverProcess.bossBar();
|
return serverProcess.bossBar();
|
||||||
}
|
}
|
||||||
|
|
||||||
public static PacketProcessor getPacketProcessor() {
|
public static @NotNull PacketProcessor getPacketProcessor() {
|
||||||
return serverProcess.packetProcessor();
|
return serverProcess.packetProcessor();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user