1
0
mirror of https://github.com/chylex/Hardcore-Ender-Expansion.git synced 2025-04-10 20:15:42 +02:00

Change sound packet magic number

This commit is contained in:
chylex 2014-10-07 17:43:42 +02:00
parent 65ba316db7
commit b6c79fb261
2 changed files with 3 additions and 2 deletions
src/main/java/chylex/hee

View File

@ -296,7 +296,7 @@ public class ContainerEndPowderEnhancements extends Container{
PacketPipeline.sendToPlayer(owner,new C19CompendiumData(owner));
}
PacketPipeline.sendToPlayer(owner,new C08PlaySound((byte)9,owner.posX,owner.posY,owner.posZ,0.8F,1.2F));
PacketPipeline.sendToPlayer(owner,new C08PlaySound(C08PlaySound.RANDOM_BREAK,owner.posX,owner.posY,owner.posZ,0.8F,1.2F));
}
}
}

View File

@ -14,7 +14,8 @@ public class C08PlaySound extends AbstractClientPacket{
GHOST_SPAWN = 5,
SPAWN_FIREBALL = 6,
GHOST_DEATH = 7,
STARDUST_TRANSFORMATION = 8;
STARDUST_TRANSFORMATION = 8,
RANDOM_BREAK = 9;
private byte soundId;
private double x,y,z;