mirror of
https://github.com/MinecraftForge/MinecraftForge.git
synced 2026-11-14 01:04:24 +00:00
Merge pull request #1024 from ShetiPhian/patch-1
Add a variable for SoundCategory in PlaySoundEvent17
This commit is contained in:
commit
094d80fe66
1 file changed
+2
@@ -16,12 +16,14 @@ public class PlaySoundEvent17 extends SoundEvent
|
||||
{
|
||||
public final String name;
|
||||
public final ISound sound;
|
||||
public final SoundCategory category;
|
||||
public ISound result;
|
||||
|
||||
public PlaySoundEvent17(SoundManager manager, ISound sound, SoundCategory category)
|
||||
{
|
||||
super(manager);
|
||||
this.sound = sound;
|
||||
this.category = category;
|
||||
this.name = sound.getPositionedSoundLocation().getResourcePath();
|
||||
this.result = sound;
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user