Fix notice screen back buttons not being hooked up

This commit is contained in:
Jonas Herzig
2019-06-14 16:54:42 +02:00
parent a840cadfb7
commit d15fa6a3f9
4 changed files with 4 additions and 4 deletions

View File

@@ -460,7 +460,7 @@ public class FullReplaySender extends ChannelDuplexHandler implements ReplaySend
}
mc.openScreen(new NoticeScreen(
//#if MC>=11400
() -> {},
() -> mc.openScreen(null),
new TranslatableComponent("replaymod.error.unknownrestriction1"),
new TranslatableComponent("replaymod.error.unknownrestriction2", unknown)
//#else