mirror of
https://github.com/darksaid98/Flashback.git
synced 2026-12-02 06:28:48 +00:00
0.10.0
This commit is contained in:
1 parent
be99313e81
commit
63535e6b3d
79 files changed
+2007
-529
No files matched your search
@@ -12,7 +12,7 @@ import org.spongepowered.asm.mixin.injection.callback.CallbackInfoReturnable;
|
||||
@Mixin(LivingEntityRenderer.class)
|
||||
public class MixinLivingEntityRenderer {
|
||||
|
||||
@Inject(method = "isBodyVisible", at = @At("HEAD"), cancellable = true)
|
||||
@Inject(method = "isBodyVisible", at = @At("HEAD"), cancellable = true, require = 0)
|
||||
public void isBodyVisible(LivingEntity livingEntity, CallbackInfoReturnable<Boolean> cir) {
|
||||
EditorState editorState = EditorStateManager.getCurrent();
|
||||
if (editorState != null && editorState.hideDuringExport.contains(livingEntity.getUUID())) {
|
||||
|
||||
Reference in new issue
Block a user