Fix Effect.TILE_BREAK

The particle's name got changed with @Grum 's tile -> block rename
This commit is contained in:
Thinkofdeath 2013-12-27 19:45:04 +00:00
parent 12a1363cea
commit 2b8293489e

View File

@ -1,11 +1,11 @@
From 05df017e79486dc7435a592d54014b8da3a906ed Mon Sep 17 00:00:00 2001
From 7f98711883db3a28f9f26a6be66b66c2d46a9d06 Mon Sep 17 00:00:00 2001
From: md_5 <md_5@live.com.au>
Date: Sun, 2 Jun 2013 15:57:09 +1000
Subject: [PATCH] Add Particle API
diff --git a/src/main/java/org/bukkit/Effect.java b/src/main/java/org/bukkit/Effect.java
index 2474a2d..4a4a12d 100644
index 2474a2d..3b71c11 100644
--- a/src/main/java/org/bukkit/Effect.java
+++ b/src/main/java/org/bukkit/Effect.java
@@ -5,6 +5,7 @@ import java.util.Map;
@ -155,7 +155,7 @@ index 2474a2d..4a4a12d 100644
+ * The particles generated while breaking a block.
+ * This particle requires a Material and data value so that the client can select the correct texture.
+ */
+ TILE_BREAK("tilecrack", Type.PARTICLE, MaterialData.class);
+ TILE_BREAK("blockcrack", Type.PARTICLE, MaterialData.class);
private final int id;
private final Type type;
@ -355,5 +355,5 @@ index 08aa71d..5217aec 100644
}
}
--
1.8.3.2
1.8.4.msysgit.0