@@ -29,34 +29,34 @@ public PacketPlaySound()
29
29
{
30
30
}
31
31
32
- public static void sendSoundPacket (double x , double y , double z , double range , int dimension , String s , boolean distort )
32
+ public static void sendSoundPacket (double x , double y , double z , double range , int dimension , String s , boolean silenced )
33
33
{
34
- sendSoundPacket (x , y , z , range , dimension , s , distort , false );
34
+ sendSoundPacket (x , y , z , range , dimension , s , silenced , false );
35
35
}
36
36
37
- public static void sendSoundPacket (double x , double y , double z , double range , int dimension , String s , boolean distort , boolean silenced )
37
+ public static void sendSoundPacket (double x , double y , double z , double range , int dimension , String s , boolean silenced , boolean distort )
38
38
{
39
- FlansMod .getPacketHandler ().sendToAllAround (new PacketPlaySound (x , y , z , s , distort , silenced ), x , y , z , (float )range , dimension );
39
+ FlansMod .getPacketHandler ().sendToAllAround (new PacketPlaySound (x , y , z , s , silenced , distort ), x , y , z , (float )range , dimension );
40
40
}
41
41
42
42
public PacketPlaySound (double x , double y , double z , String s )
43
43
{
44
44
this (x , y , z , s , false );
45
45
}
46
46
47
- public PacketPlaySound (double x , double y , double z , String s , boolean distort )
47
+ public PacketPlaySound (double x , double y , double z , String s , boolean silenced )
48
48
{
49
- this (x , y , z , s , distort , false );
49
+ this (x , y , z , s , silenced , false );
50
50
}
51
51
52
- public PacketPlaySound (double x , double y , double z , String s , boolean distort , boolean silenced )
52
+ public PacketPlaySound (double x , double y , double z , String s , boolean silenced , boolean distort )
53
53
{
54
54
posX = (float )x ;
55
55
posY = (float )y ;
56
56
posZ = (float )z ;
57
57
sound = s ;
58
- this .distort = distort ;
59
58
this .silenced = silenced ;
59
+ this .distort = distort ;
60
60
61
61
Matrix2f audioMatrix = Matrix2f .generateAudioMatrix (x , y , z );
62
62
hash = audioMatrix .coords .hash ;
0 commit comments