Removed possible sources of issues with the Replay Speed value

This commit is contained in:
CrushedPixel
2015-05-09 17:43:18 +02:00
parent d4d2dc0da7
commit 2fe3e2091b
3 changed files with 1 additions and 13 deletions

View File

@@ -121,6 +121,7 @@ public class GuiEventHandler {
@SubscribeEvent
public void onInit(InitGuiEvent event) {
if(event.gui instanceof GuiIngameMenu && ReplayHandler.isInReplay()) {
ReplayMod.replaySender.setReplaySpeed(0);
for(GuiButton b : new ArrayList<GuiButton>(event.buttonList)) {
if(b.id == 1) {
b.displayString = I18n.format("replaymod.gui.exit");