Commits

md_5 authored 8a048fe4a43
Patch rebuild
No tags

CraftBukkit-Patches/0002-Skeleton-API-Implementations.patch

Modified
1 -From 0906e12359fc074aa9737501aefbce06d4ab4305 Mon Sep 17 00:00:00 2001
1 +From 17975b7a42514fd31945c2a2c63c86d041bf3655 Mon Sep 17 00:00:00 2001
2 2 From: md_5 <md_5@live.com.au>
3 3 Date: Sun, 2 Jun 2013 15:10:56 +1000
4 4 Subject: [PATCH] Skeleton API Implementations
5 5
6 6 This contains the basic, empty implementations for some Spigot-API extensions. They are included early in the patching progress so that compilation will still succeed midway despite the APIs only being provided by subsequent patches.
7 7
8 8 diff --git a/src/main/java/org/bukkit/craftbukkit/CraftServer.java b/src/main/java/org/bukkit/craftbukkit/CraftServer.java
9 -index acf14fd..e4bbe8c 100644
9 +index a7c7dca..0f8e1b3 100644
10 10 --- a/src/main/java/org/bukkit/craftbukkit/CraftServer.java
11 11 +++ b/src/main/java/org/bukkit/craftbukkit/CraftServer.java
12 -@@ -1657,4 +1657,14 @@ public final class CraftServer implements Server {
12 +@@ -1664,4 +1664,14 @@ public final class CraftServer implements Server {
13 13 public UnsafeValues getUnsafe() {
14 14 return CraftMagicNumbers.INSTANCE;
15 15 }
16 16 +
17 17 + private final Spigot spigot = new Spigot()
18 18 + {
19 19 +
20 20 + };
21 21 +
22 22 + public Spigot spigot()
23 23 + {
24 24 + return spigot;
25 25 + }
26 26 }
27 27 diff --git a/src/main/java/org/bukkit/craftbukkit/CraftWorld.java b/src/main/java/org/bukkit/craftbukkit/CraftWorld.java
28 -index 46c6f00..3831fd0 100644
28 +index 11f0fb2..3621d55 100644
29 29 --- a/src/main/java/org/bukkit/craftbukkit/CraftWorld.java
30 30 +++ b/src/main/java/org/bukkit/craftbukkit/CraftWorld.java
31 31 @@ -1523,4 +1523,14 @@ public class CraftWorld implements World {
32 32 cps.unload(chunk);
33 33 }
34 34 }
35 35 + // Spigot start
36 36 + private final Spigot spigot = new Spigot()
37 37 + {
38 38 + };

Everything looks good. We'll let you know here if there's anything you should know about.

Add shortcut