diff --git a/src/main/java/com/replaymod/replay/gui/screen/GuiRenameReplay.java b/src/main/java/com/replaymod/replay/gui/screen/GuiRenameReplay.java index 5c2a0ce8..f5c30851 100755 --- a/src/main/java/com/replaymod/replay/gui/screen/GuiRenameReplay.java +++ b/src/main/java/com/replaymod/replay/gui/screen/GuiRenameReplay.java @@ -43,7 +43,7 @@ public class GuiRenameReplay extends AbstractGuiScreen { // Sanitize their input String name = nameField.getText().trim().replace("[^a-zA-Z0-9\\.\\- ]", "_"); // This file is what they want - File targetFile = new File(file.getParentFile(), name + ".zip"); + File targetFile = new File(file.getParentFile(), name + ".mcpr"); // But if it's already used, this is what they get File renamed = ReplayFileIO.getNextFreeFile(targetFile); try {