Update snapshot version.

This commit is contained in:
md_5 2013-03-11 19:14:10 +11:00
parent c8b552e908
commit 72123ab9a3

View File

@ -1,4 +1,4 @@
From 1146814533f254505ea2e534109590ea7593c37b Mon Sep 17 00:00:00 2001 From b2e48aa371f8e8709db1cfb230e0ffaf7f039f77 Mon Sep 17 00:00:00 2001
From: md_5 <md_5@live.com.au> From: md_5 <md_5@live.com.au>
Date: Sat, 2 Mar 2013 13:34:17 +1100 Date: Sat, 2 Mar 2013 13:34:17 +1100
Subject: [PATCH] Snapshot support. Subject: [PATCH] Snapshot support.
@ -115,7 +115,7 @@ index cdd456f..08aa314 100644
for (Object object : list) { for (Object object : list) {
if (s == null) { if (s == null) {
diff --git a/src/main/java/org/bukkit/craftbukkit/Spigot.java b/src/main/java/org/bukkit/craftbukkit/Spigot.java diff --git a/src/main/java/org/bukkit/craftbukkit/Spigot.java b/src/main/java/org/bukkit/craftbukkit/Spigot.java
index 7785d45..b8d7652 100644 index 7785d45..9d5d316 100644
--- a/src/main/java/org/bukkit/craftbukkit/Spigot.java --- a/src/main/java/org/bukkit/craftbukkit/Spigot.java
+++ b/src/main/java/org/bukkit/craftbukkit/Spigot.java +++ b/src/main/java/org/bukkit/craftbukkit/Spigot.java
@@ -23,6 +23,9 @@ public class Spigot { @@ -23,6 +23,9 @@ public class Spigot {
@ -124,7 +124,7 @@ index 7785d45..b8d7652 100644
private static Metrics metrics; private static Metrics metrics;
+ public static boolean snapshotSupport; + public static boolean snapshotSupport;
+ public static int snapshotProtocolVersion = 60; + public static int snapshotProtocolVersion = 60;
+ public static String snapshotVersion = "13w09c"; + public static String snapshotVersion = "1.5";
public static void initialize(CraftServer server, SimpleCommandMap commandMap, YamlConfiguration configuration) { public static void initialize(CraftServer server, SimpleCommandMap commandMap, YamlConfiguration configuration) {
commandMap.register("bukkit", new org.bukkit.craftbukkit.command.TicksPerSecondCommand("tps")); commandMap.register("bukkit", new org.bukkit.craftbukkit.command.TicksPerSecondCommand("tps"));