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