mirror of
https://github.com/HbmMods/Hbm-s-Nuclear-Tech-GIT.git
synced 2026-01-25 10:32:49 +00:00
Merge pull request #1775 from Voxelstice/turret-compat-fix
Turret CompatExternal fix
This commit is contained in:
commit
b0a90d08f7
@ -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.
|
||||
*/
|
||||
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; }
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user