mirror of
https://github.com/ClassiCube/ClassiCube.git
synced 2025-09-16 02:56:09 -04:00
Fix sprites not being pickable when collision physics set to liquid. (Thanks goodlyay)
This commit is contained in:
parent
fb0fdce7ab
commit
8807bff0db
@ -499,6 +499,7 @@ namespace ClassicalSharp {
|
||||
|
||||
internal bool CanPick( byte block ) {
|
||||
if( BlockInfo.IsAir[block] ) return false;
|
||||
if( BlockInfo.IsSprite[block] ) return true;
|
||||
if( BlockInfo.Collide[block] != CollideType.SwimThrough ) return true;
|
||||
|
||||
return !ModifiableLiquids ? false :
|
||||
|
Loading…
x
Reference in New Issue
Block a user