Fixed fish filet issue where it gives you resources from other planets

This commit is contained in:
Cekis
2019-05-13 16:12:34 -07:00
committed by GitHub
parent 6c7bf814d4
commit 8260b2fc85

View File

@@ -1471,7 +1471,7 @@ public class minigame extends script.base_script
}
if (resourceAmt > 0)
{
String resourceType = params.getString(COL_RESOURCE_TYPE);
String resourceType = params.getString(COL_RESOURCE_TYPE) + "_" + castLoc.area;
if (resourceType != null && !resourceType.equals(""))
{
resource.createRandom(resourceType, resourceAmt, castLoc, fish, player, 1);