Skip to content

Commit

Permalink
Removed unnecessary codes
Browse files Browse the repository at this point in the history
  • Loading branch information
ZiYueCommentary committed Sep 14, 2024
1 parent a2b371c commit af14c91
Show file tree
Hide file tree
Showing 4 changed files with 2 additions and 9 deletions.
4 changes: 0 additions & 4 deletions fabric/src/main/java/ziyue/tjmetro/mod/Registry.java
Original file line number Diff line number Diff line change
@@ -1,16 +1,12 @@
package ziyue.tjmetro.mod;

import org.mtr.libraries.kotlin.Pair;
import org.mtr.mapping.holder.*;
import org.mtr.mapping.mapper.BlockEntityExtension;
import org.mtr.mapping.mapper.BlockItemExtension;
import org.mtr.mapping.mapper.EntityExtension;
import org.mtr.mapping.registry.*;
import org.mtr.mapping.tool.PacketBufferReceiver;
import ziyue.filters.Filter;

import java.util.ArrayList;
import java.util.List;
import java.util.function.BiFunction;
import java.util.function.Function;
import java.util.function.Supplier;
Expand Down
3 changes: 0 additions & 3 deletions fabric/src/main/java/ziyue/tjmetro/mod/TianjinMetro.java
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,6 @@

import org.apache.logging.log4j.LogManager;
import org.apache.logging.log4j.Logger;
import org.mtr.mapping.holder.ItemConvertible;
import org.mtr.mapping.holder.ItemStack;
import org.mtr.mapping.registry.CreativeModeTabHolder;
import ziyue.tjmetro.mapping.BooleanGameRule;
import ziyue.tjmetro.mapping.GameRuleRegistry;
import ziyue.tjmetro.mod.packet.*;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -683,7 +683,7 @@ public static NativeImage generateRouteMapBMT(long platformId, boolean flip, flo
final int lineWidth = (int) Math.ceil((float) lineSize / 4);
for (int drawX = 0; drawX < lineWidth; drawX++) {
for (int drawY = 0; drawY < lineSize * 1.8; drawY++) {
drawPixelSafe(nativeImage, x + drawX - lineWidth * interchangeColors.size() / 2, y + lines * lineSpacing + drawY, passed ? ARGB_LIGHT_GRAY : ARGB_BLACK);
drawPixelSafe(nativeImage, x + drawX - lineWidth / 2, y + lines * lineSpacing + drawY, passed ? ARGB_LIGHT_GRAY : ARGB_BLACK);
}
}

Expand Down
2 changes: 1 addition & 1 deletion gradle.properties
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ org.gradle.daemon=false
minecraft_version=1.20.4

# Mod Properties
mod_version=1.0.0-beta-2-unoffical-20240812
mod_version=1.0.0-beta-2
maven_group=ziyue.tjmetro
archives_base_name=tjmetro

Expand Down

0 comments on commit af14c91

Please sign in to comment.