Fix 1.8->1.9 ender dragon sound

Fixes #1943
This commit is contained in:
KennyTV 2020-08-10 09:22:08 +02:00
parent fa4d44b929
commit 421453d25e
No known key found for this signature in database
GPG Key ID: 6BE3B555EBC5982B

View File

@ -5,7 +5,7 @@ import it.unimi.dsi.fastutil.ints.Int2IntOpenHashMap;
public class Effect {
private static final Int2IntMap EFFECTS = new Int2IntOpenHashMap(17, 1F);
private static final Int2IntMap EFFECTS = new Int2IntOpenHashMap(19, 1F);
static {
addRewrite(1005, 1010); //Play music disc
@ -25,6 +25,8 @@ public class Effect {
addRewrite(1020, 1029); //Anvil break
addRewrite(1021, 1030); //Anvil use
addRewrite(1022, 1031); //Anvil land
addRewrite(1013, 1023);
addRewrite(1018, 1028);
}
public static int getNewId(int id) {