mirror of
https://github.com/ViaVersion/ViaRewind-Legacy-Support.git
synced 2024-11-14 10:15:31 +01:00
Fix sound in 1.9 (#17)
This commit is contained in:
parent
79cd2d6a67
commit
41043ee411
@ -105,7 +105,7 @@ public class SoundListener implements Listener {
|
||||
} catch (NoSuchMethodException ex) {
|
||||
try {
|
||||
getStepSound = nmsBlock.getClass().getMethod("getStepSound");
|
||||
} catch (NoSuchMethodError ex2) {
|
||||
} catch (NoSuchMethodException ex2) {
|
||||
getStepSound = nmsBlock.getClass().getMethod("w");
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user