Skip to content

Commit

Permalink
Don't send the book every time the GUI is closed
Browse files Browse the repository at this point in the history
  • Loading branch information
waffle-stomper committed Aug 16, 2017
1 parent 77d5166 commit 2775131
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 8 deletions.
2 changes: 1 addition & 1 deletion forge/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ apply plugin: 'net.minecraftforge.gradle.forge'
//Only edit below this line, the above code adds and enables the nessasary things for Forge to be setup.


version = "1.9.5"
version = "1.9.6"
group = "wafflestomper" // http://maven.apache.org/guides/mini/guide-naming-conventions.html
archivesBaseName = "1.12.1-Ghostwriter"

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@
public class Ghostwriter{

public static final String MODID = "ghostwriter";
public static final String VERSION = "1.9.5";
public static final String VERSION = "1.9.6";
public static final String NAME = "Ghostwriter";

private Minecraft mc = Minecraft.getMinecraft();
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -712,11 +712,6 @@ public void initGui(){
* Called when the screen is unloaded. Used to disable keyboard repeat events
*/
public void onGuiClosed(){
try {
sendBookToServer(false);
} catch (IOException e) {
e.printStackTrace();
}
Keyboard.enableRepeatEvents(false);
}

Expand Down
3 changes: 2 additions & 1 deletion update.json
Original file line number Diff line number Diff line change
@@ -1,13 +1,14 @@
{
"homepage": "https://github.com/waffle-stomper/Ghostwriter/releases",
"promos":{
"1.12.1-recommended": "1.9.5",
"1.12.1-recommended": "1.9.6",
"1.12.0-recommended": "1.9.4",
"1.11.2-recommended": "1.9.1",
"1.11-recommended": "1.8.7",
"1.10-recommended": "1.8.5"
},
"1.12.1":{
"1.9.6": "*Don't send the book every time the GUI is closed",
"1.9.5": "*Update to 1.12.1\n*Fix Spigot 'book edited too quickly' bug"
},
"1.12.0":{
Expand Down

0 comments on commit 2775131

Please sign in to comment.