mirror of
https://github.com/TotalFreedomMC/OpenInv.git
synced 2024-12-23 00:15:08 +00:00
Fix (NoSuchMethod)Exception being caught instead of NoSuchMethodError
Closes #62
This commit is contained in:
parent
f27dd8a233
commit
f54481e872
1 changed files with 1 additions and 1 deletions
|
@ -123,7 +123,7 @@ public class AnySilentContainer implements IAnySilentContainer {
|
||||||
try {
|
try {
|
||||||
// 1.11.2
|
// 1.11.2
|
||||||
return world.a(axisAlignedBB.a(blockPosition.shift(enumDirection)));
|
return world.a(axisAlignedBB.a(blockPosition.shift(enumDirection)));
|
||||||
} catch (Exception e) {
|
} catch (NoSuchMethodError e) {
|
||||||
// 1.11
|
// 1.11
|
||||||
return world.b(axisAlignedBB.a(blockPosition.shift(enumDirection)));
|
return world.b(axisAlignedBB.a(blockPosition.shift(enumDirection)));
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue