mirror of
https://github.com/curioustorvald/Terrarum.git
synced 2026-06-15 04:54:05 +09:00
merging dropped items when they tightly overlap
This commit is contained in:
@@ -1726,7 +1726,7 @@ open class ActorWithBody : Actor {
|
||||
throw Error("Hitbox dimension was not set. (don't modify hitbox directly -- use 'setHitboxDimension()')")
|
||||
|
||||
// warnings
|
||||
if (sprite == null && isVisible)
|
||||
if (sprite == null && isVisible && this.javaClass.simpleName != "DroppedItem")
|
||||
printdbg(this, "Caution: actor ${this.javaClass.simpleName} is visible but the sprite was not set.\n" +
|
||||
"Actor localhash: ${this.localHashStr}")
|
||||
else if (sprite != null && !isVisible)
|
||||
|
||||
Reference in New Issue
Block a user