Skip to content

Commit

Permalink
remove extra spaces
Browse files Browse the repository at this point in the history
  • Loading branch information
Crystal0404 committed Nov 12, 2024
1 parent 6cb9ca4 commit d5fe24c
Showing 1 changed file with 6 additions and 6 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -38,8 +38,8 @@
//#endif

//#if MC >= 12101
//$$ import com.llamalad7.mixinextras.lib.apache.commons.tuple.Pair;
//$$ import net.minecraft.nbt.NbtCompound;
//$$ import com.llamalad7.mixinextras.lib.apache.commons.tuple.Pair;
//$$ import net.minecraft.nbt.NbtCompound;
//#endif

@Restriction(require = @Condition(ModIds.minihud))
Expand All @@ -62,7 +62,7 @@ public abstract class RenderHandlerMixin
//#if MC < 12101
target = "Lfi/dy/masa/minihud/event/RenderHandler;getTargetedBlockEntity(Lnet/minecraft/world/World;Lnet/minecraft/client/MinecraftClient;)Lnet/minecraft/block/entity/BlockEntity;",
//#else
//$$ target = "Lfi/dy/masa/minihud/event/RenderHandler;getTargetedBlockEntity(Lnet/minecraft/world/World;Lnet/minecraft/client/MinecraftClient;)Lcom/llamalad7/mixinextras/lib/apache/commons/tuple/Pair;",
//$$ target = "Lfi/dy/masa/minihud/event/RenderHandler;getTargetedBlockEntity(Lnet/minecraft/world/World;Lnet/minecraft/client/MinecraftClient;)Lcom/llamalad7/mixinextras/lib/apache/commons/tuple/Pair;",
//#endif
ordinal = 0,
remap = true
Expand All @@ -72,13 +72,13 @@ public abstract class RenderHandlerMixin
//#if MC < 12101
private BlockEntity serverDataSyncer4BeehiveBeeCount(BlockEntity blockEntity)
//#else
//$$ private Pair<BlockEntity, NbtCompound> serverDataSyncer4BeehiveBeeCount(Pair<BlockEntity, NbtCompound> original)
//$$ private Pair<BlockEntity, NbtCompound> serverDataSyncer4BeehiveBeeCount(Pair<BlockEntity, NbtCompound> original)
//#endif
{
if (TweakerMoreConfigs.SERVER_DATA_SYNCER.getBooleanValue())
{
//#if MC >= 12101
//$$ BlockEntity blockEntity = original.getLeft();
//$$ BlockEntity blockEntity = original.getLeft();
//#endif
if (blockEntity instanceof BeehiveBlockEntity && !MinecraftClient.getInstance().isIntegratedServerRunning())
{
Expand All @@ -88,7 +88,7 @@ private BlockEntity serverDataSyncer4BeehiveBeeCount(BlockEntity blockEntity)
//#if MC < 12101
return blockEntity;
//#else
//$$ return original;
//$$ return original;
//#endif
}
//#endif
Expand Down

0 comments on commit d5fe24c

Please sign in to comment.