mirror of
https://github.com/HbmMods/Hbm-s-Nuclear-Tech-GIT.git
synced 2026-02-23 22:40:46 +00:00
The curse
registerTurretTargetingCondition now should work as intended
This commit is contained in:
parent
ff405e5aeb
commit
83c209805f
@ -181,7 +181,7 @@ public class CompatExternal {
|
|||||||
* class on the side of whoever is adding compat, allowing the compat class to be used entirely with reflection.
|
* class on the side of whoever is adding compat, allowing the compat class to be used entirely with reflection.
|
||||||
*/
|
*/
|
||||||
public static void registerTurretTargetingCondition(Class clazz, BiFunction<Entity, Object, Integer> bi) {
|
public static void registerTurretTargetingCondition(Class clazz, BiFunction<Entity, Object, Integer> bi) {
|
||||||
turretTargetBlacklist.add(clazz);
|
turretTargetCondition.put(clazz, bi);
|
||||||
}
|
}
|
||||||
|
|
||||||
public static void setWarheadLabel(WarheadType type, String label) { type.labelCustom = label; }
|
public static void setWarheadLabel(WarheadType type, String label) { type.labelCustom = label; }
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user