Fix sound in 1.9 (#17)

This commit is contained in:
creeper123123321 2021-04-29 18:39:03 -03:00 committed by GitHub
parent 79cd2d6a67
commit 41043ee411
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -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");
}
}