SpongeVanilla.INSTANCE.initialize();
ServerStatusResponse statusResponse = getServerStatusResponse();
statusResponse.setServerDescription(new TextComponentString(getMOTD()));
statusResponse.setProtocolVersionInfo(
new ServerStatusResponse.Version(MINECRAFT_VERSION.getName(), MINECRAFT_VERSION.getProtocol()));
<BUG>this.func_184107_a(statusResponse);
}</BUG>
@Inject(method = "startServer()Z", at = @At(value = "INVOKE", target = SET_PROPERTY, ordinal = 2, shift = At.Shift.AFTER))
private void callServerAboutToStart(CallbackInfoReturnable<Boolean> ci) {
SpongeVanilla.INSTANCE.onServerAboutToStart();

SpongeVanilla.INSTANCE.initialize();
ServerStatusResponse statusResponse = getServerStatusResponse();
statusResponse.setServerDescription(new TextComponentString(getMOTD()));
statusResponse.setProtocolVersionInfo(
new ServerStatusResponse.Version(MINECRAFT_VERSION.getName(), MINECRAFT_VERSION.getProtocol()));
this.applyServerIconToResponse(statusResponse);
}
@Inject(method = "startServer()Z", at = @At(value = "INVOKE", target = SET_PROPERTY, ordinal = 2, shift = At.Shift.AFTER))
private void callServerAboutToStart(CallbackInfoReturnable<Boolean> ci) {
SpongeVanilla.INSTANCE.onServerAboutToStart();
