Skip to content

Commit

Permalink
to 1.21.1
Browse files Browse the repository at this point in the history
  • Loading branch information
IAFEnvoy committed Jan 12, 2025
1 parent b22a846 commit 865d45e
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
8 changes: 4 additions & 4 deletions gradle.properties
Original file line number Diff line number Diff line change
Expand Up @@ -10,15 +10,15 @@ neogradle.subsystems.parchment.mappingsVersion=2024.05.01
# Environment Properties
# You can find the latest versions here: https://projects.neoforged.net/neoforged/neoforge
# The Minecraft version must agree with the Neo version to get a valid artifact
minecraft_version=1.21
minecraft_version=1.21.1
# The Minecraft version range can use any release version of Minecraft as bounds.
# Snapshots, pre-releases, and release candidates are not guaranteed to sort properly
# as they do not follow standard versioning conventions.
minecraft_version_range=[1.21,1.21.1)
minecraft_version_range=[1.21,1.21.2)
# The Neo version must agree with the Minecraft version to get a valid artifact
neo_version=21.0.78-beta
neo_version=21.1.93
# The Neo version range can use any version of Neo as bounds
neo_version_range=[21.0.0-beta,)
neo_version_range=[21.1.0-beta,)
# The loader version range can only use the major version of FML as bounds
loader_version_range=[4,)

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ private static boolean shouldHandleDrop(ItemStack stack) {
ResourceLocation location = BuiltInRegistries.ITEM.getKey(item);//有问题
String name = location.toString();
if (config.internal.weapon)
if (item instanceof SwordItem || item instanceof BowItem || item instanceof CrossbowItem || item instanceof TridentItem || item instanceof ArrowItem)
if (item instanceof SwordItem || item instanceof BowItem || item instanceof CrossbowItem || item instanceof TridentItem || item instanceof ArrowItem || item instanceof MaceItem)
return true;
if (config.internal.tool)
if (item instanceof AxeItem || item instanceof PickaxeItem || item instanceof ShovelItem || item instanceof HoeItem)
Expand Down

0 comments on commit 865d45e

Please sign in to comment.