The curse

registerTurretTargetingCondition now should work as intended
This commit is contained in:
Voxelstice 2024-11-20 17:36:23 +03:00
parent ff405e5aeb
commit 83c209805f

View File

@ -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; }