mirror of
https://github.com/Xiao-MoMi/craft-engine.git
synced 2025-12-28 19:39:11 +00:00
feat(client-mod): 修复客户端视觉问题
This commit is contained in:
@@ -57,7 +57,8 @@ public class PacketConsumers {
|
||||
|
||||
public static int remap(int stateId, NetWorkUser user) {
|
||||
int remapId = mappings[stateId];
|
||||
if (user.usingClientMod() && BlockStateUtils.isVanillaBlock(remapId)) return stateId;
|
||||
if (remapId == stateId) return stateId;
|
||||
if (user.usingClientMod() && !BlockStateUtils.isVanillaBlock(stateId)) return stateId;
|
||||
return remapId;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user