Don't clear blockstate cache field

This will break one of FerriteCore's optimizations
This commit is contained in:
embeddedt 2023-01-21 21:15:24 -05:00
parent a800f6d704
commit 09ffb73a70
No known key found for this signature in database
GPG Key ID: A69433EC199B5613

View File

@ -30,7 +30,7 @@ public class BlockStateCacheHandler {
if(reason == BakeReason.FREEZE
|| reason == BakeReason.REMOTE_SNAPSHOT_INJECT
|| (reason == BakeReason.LOCAL_SNAPSHOT_INJECT && ModernFix.runningFirstInjection)) {
((IBlockState)state).clearCache();
//((IBlockState)state).clearCache();
} else {
state.initCache();
}