Skip to content
This repository was archived by the owner on Jul 11, 2024. It is now read-only.

Commit 95a32cb

Browse files
committed
v1.0.1
Fixing mixins
1 parent e435565 commit 95a32cb

3 files changed

Lines changed: 5 additions & 5 deletions

File tree

gradle.properties

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
org.gradle.jvmargs=-Xmx2G
22
org.gradle.daemon=false
33

4-
version = 1.0.0
4+
version = 1.0.1

src/main/java/com/bug1312/dm_locator/mixins/FlightPanelBlockMixin.java

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -104,12 +104,12 @@ public void createBlockStateDefinition(StateContainer.Builder<Block, BlockState>
104104
builder.add(HAS_LOCATOR, CARTRIDGE);
105105
}
106106

107-
@Inject(at = @At("RETURN"), method = "getShape", cancellable = true, remap = false)
107+
@Inject(at = @At("RETURN"), method = "getShape", cancellable = true)
108108
public void getShape(final BlockState state, final IBlockReader world, final BlockPos pos, final ISelectionContext context, final CallbackInfoReturnable<VoxelShape> ci) {
109109
if (state.getValue(HAS_LOCATOR)) ci.setReturnValue(VoxelShapes.or(ci.getReturnValue(), getAddonShape(state)));
110110
}
111111

112-
@Inject(at = @At("HEAD"), method = "use", cancellable = true, remap = false)
112+
@Inject(at = @At("HEAD"), method = "use", cancellable = true)
113113
public void use(final BlockState state, final World world, final BlockPos pos, final PlayerEntity player, final Hand handIn, final BlockRayTraceResult result, final CallbackInfoReturnable<ActionResultType> ci) {
114114
if (isMouseOnLocator(state, pos, result.getLocation(), world)) {
115115
if (!world.isClientSide()) {
@@ -154,7 +154,7 @@ public void use(final BlockState state, final World world, final BlockPos pos, f
154154
}
155155
}
156156

157-
@Inject(at = @At("TAIL"), method = "use", cancellable = false, remap = false)
157+
@Inject(at = @At("TAIL"), method = "use", cancellable = false)
158158
public void addToMap(final BlockState state, final World world, final BlockPos pos, final PlayerEntity player, final Hand handIn, final BlockRayTraceResult result, final CallbackInfoReturnable<ActionResultType> ci) {
159159
StructureHelper.isFlyingWithLocator = state.getValue(HAS_LOCATOR);
160160

src/main/resources/META-INF/mods.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ license="LGPL-3.0-only"
44
issueTrackerURL="https://github.com/Bug1312/dm_locator/issues"
55
[[mods]]
66
modId="dm_locator"
7-
version="1.0.0"
7+
version="1.0.1"
88
displayURL="https://github.com/Bug1312/dm_locator"
99
displayName="DM Locator Addon"
1010
credits="Bug1312, ranafangirl"

0 commit comments

Comments
 (0)