Allow neoplasm on water/arkycite/etc

This commit is contained in:
Anuken
2022-08-14 15:39:56 -04:00
parent 1f318306a7
commit f15a620c45
5 changed files with 10 additions and 5 deletions

View File

@@ -129,9 +129,8 @@ public class Puddles{
/**
* Returns whether the first liquid can 'stay' on the second one.
* Currently, the only place where this can happen is oil on water.
*/
private static boolean canStayOn(Liquid liquid, Liquid other){
return liquid == Liquids.oil && other == Liquids.water;
return liquid.canStayOn.contains(other);
}
}