Archiviert
13
0

Fix compilation on Sun JDK (and any other strictly conforming compiler)

http://docs.oracle.com/javase/specs/jls/se7/html/jls-15.html#jls-15.12.1
http://ideone.com/MGCWja
Dieser Commit ist enthalten in:
TomyLobo 2013-06-16 10:17:48 +10:00 committet von md_5
Ursprung 8f3f548e7d
Commit a59cfc6379

Datei anzeigen

@ -1,4 +1,4 @@
From fa2fcf2e45e5fcf0b68f3cac7ef0d48a18d26b80 Mon Sep 17 00:00:00 2001
From 895cefe23647dfcda3b133779b8cb73a68e20abc Mon Sep 17 00:00:00 2001
From: md_5 <md_5@live.com.au>
Date: Sun, 2 Jun 2013 16:14:30 +1000
Subject: [PATCH] Particle API
@ -43,7 +43,7 @@ index 7de0de5..7eca388 100644
datavalue = 0;
}
diff --git a/src/main/java/org/bukkit/craftbukkit/CraftWorld.java b/src/main/java/org/bukkit/craftbukkit/CraftWorld.java
index 4439ebc..e762c9b 100644
index 4439ebc..536a4d6 100644
--- a/src/main/java/org/bukkit/craftbukkit/CraftWorld.java
+++ b/src/main/java/org/bukkit/craftbukkit/CraftWorld.java
@@ -885,31 +885,21 @@ public class CraftWorld implements World {
@ -146,7 +146,7 @@ index 4439ebc..e762c9b 100644
+ @Override
+ public void playEffect(Location location, Effect effect)
+ {
+ playEffect( location, effect, 0 );
+ CraftWorld.this.playEffect( location, effect, 0 );
+ }
};