Skip to content

Commit

Permalink
shootlimit
Browse files Browse the repository at this point in the history
  • Loading branch information
matsu1213 committed Jun 22, 2024
1 parent 25b86e0 commit bafc089
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ public void onPreShoot(WeaponPrepareShootEvent e){
if(weaponTitle != null){
WeaponConfigData otherData = LeonCSAddon.INSTANCE.getWeaponConfig().getWeaponConfigData(weaponTitle);
if(otherData != null && otherData.isMain){
if(!Collections.disjoint(data.requirements, otherData.type)){
if(Collections.disjoint(data.requirements, otherData.type)){
e.setCancelled(true);
}
}
Expand Down

0 comments on commit bafc089

Please sign in to comment.