Fixes stack multiplier exploit (#67514)

ye
This commit is contained in:
CocaColaTastesGood
2022-06-05 23:27:42 -04:00
committed by GitHub
parent 23d24c836e
commit f9056bcda1
+1 -1
View File
@@ -357,7 +357,7 @@
return
if(!is_valid_recipe(recipe, recipes)) //href exploit protection
return
if(!multiplier || (multiplier <= 0)) //href exploit protection
if(!multiplier || multiplier < 1) //href exploit protection
return
if(!building_checks(builder, recipe, multiplier))
return