Do not throw RuntimeException if could not get the player channel on 1.19.4

This commit is contained in:
ds58 committed 2023-05-29 14:23:52 -05:00
1 parent 4375505b1e
commit 33c6d04a1a
2 files changed
+3 -2

No files matched your search

+1 -1
View File
@@ -1,6 +1,6 @@
allprojects {
group = 'com.ruinscraft'
version = '1.8.4'
version = '1.8.5'
}
subprojects {
@@ -30,8 +30,9 @@ public class PlayerInjector implements IPlayerInjector {
NetworkManager networkManager = (NetworkManager) networkManagerField.get(playerConnection);
return networkManager.m;
} catch (NoSuchFieldException | IllegalAccessException e) {
throw new RuntimeException(e);
e.printStackTrace();
}
return null;
}
@Override