fixed stuck rain
refactoring
This commit is contained in:
@@ -77,7 +77,7 @@ public class Chunk {
|
||||
object o = Activator.CreateInstance(type, x, y, this);
|
||||
|
||||
// check if not empty and overwrite not allowed:
|
||||
if (Elements[x,y].GetType() != typeof(Element) && !Main.Instance.AllowOverwrite) {
|
||||
if (!Elements[x,y].IsEmpty() && !Main.Instance.AllowOverwrite) {
|
||||
return;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user