Do not throw RuntimeException if could not get the player channel on 1.19.4
This commit is contained in:
1 parent
4375505b1e
commit
33c6d04a1a
2 files changed
+3
-2
No files matched your search
+1
-1
@@ -1,6 +1,6 @@
|
||||
allprojects {
|
||||
group = 'com.ruinscraft'
|
||||
version = '1.8.4'
|
||||
version = '1.8.5'
|
||||
}
|
||||
|
||||
subprojects {
|
||||
|
||||
+2
-1
@@ -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
|
||||
|
||||
Reference in new issue
Block a user