Merge branch 'NextGen' of https://github.com/AlexIIL/BuildCraft into AlexIIL-NextGen
This commit is contained in:
commit
2ce577bd39
1 changed files with 2 additions and 0 deletions
|
@ -84,6 +84,8 @@ public class ReflectMjAPI {
|
||||||
}
|
}
|
||||||
|
|
||||||
public static BatteryObject getMjBattery (Object o) {
|
public static BatteryObject getMjBattery (Object o) {
|
||||||
|
if (o == null)
|
||||||
|
return null;
|
||||||
BatteryField f = getMjBattery (o.getClass());
|
BatteryField f = getMjBattery (o.getClass());
|
||||||
|
|
||||||
if (f == null) {
|
if (f == null) {
|
||||||
|
|
Loading…
Reference in a new issue