Skip to content

Commit 8c0cadf

Browse files
committed
Bump version
1 parent 59f36f1 commit 8c0cadf

3 files changed

Lines changed: 9 additions & 9 deletions

File tree

build.gradle

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -31,8 +31,8 @@ dependencies {
3131
modImplementation "net.fabricmc:fabric-loader:${project.loader_version}"
3232

3333
// Fabric API. This is technically optional, but you probably want it anyway.
34-
// modImplementation "net.fabricmc.fabric-api:fabric-api:${project.fabric_version}"
35-
modImplementation"net.fabricmc.fabric-api:fabric-game-rule-api-v1:${project.fabric_game_rule_v1_version}"
34+
modImplementation "net.fabricmc.fabric-api:fabric-api:${project.fabric_version}"
35+
// modImplementation"net.fabricmc.fabric-api:fabric-game-rule-api-v1:${project.fabric_game_rule_v1_version}"
3636
// PSA: Some older mods, compiled on Loom 0.2.1, might have outdated Maven POMs.
3737
// You may need to force-disable transitiveness on them.
3838
}
@@ -58,7 +58,7 @@ tasks.withType(JavaCompile).configureEach {
5858
it.options.encoding = "UTF-8"
5959

6060
// Minecraft 1.17 (21w19a) upwards uses Java 16.
61-
it.options.release = 16
61+
it.options.release = 17
6262
}
6363

6464
java {

gradle.properties

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -6,11 +6,11 @@ minecraft_version=1.18.2
66
yarn_mappings=1.18.2+build.2
77
loader_version=0.13.3
88
# Mod Properties
9-
mod_version=1.2.6-sand-duper-fix
9+
mod_version=1.2.6-1.18.2-sand-duper-fix
1010
maven_group=wearblackallday
1111
archives_base_name=DimThread
1212
# Dependencies
1313
# check this on https://modmuss50.me/fabric.html
14-
#fabric_version=0.44.0+1.18
15-
fabric_game_rule_v1_version=1.0.9+e77d3ea6cb
14+
fabric_version=0.48.0+1.18.2
15+
#fabric_game_rule_v1_version=1.0.9+e77d3ea6cb
1616

src/main/java/wearblackallday/dimthread/mixin/EntityMixin.java

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -48,16 +48,16 @@ public void moveToWorld(ServerWorld destination, CallbackInfoReturnable<Entity>
4848
* caused by a sand duplicator.
4949
*/
5050
@Redirect(method = "moveToWorld", at = @At(value = "INVOKE", target = "Lnet/minecraft/entity/Entity;isRemoved()Z"))
51-
public final boolean forceNotRemoved(Entity entity) {
51+
public final boolean forceNotRemoved(Entity self) {
5252
Entity.RemovalReason reason = this.removalReason;
5353
if (
54-
(Entity) (Object) this instanceof FallingBlockEntity &&
54+
self instanceof FallingBlockEntity &&
5555
reason == Entity.RemovalReason.DISCARDED &&
5656
!duped
5757
) {
5858
duped = true;
5959
return false;
6060
}
61-
return entity.isRemoved();
61+
return self.isRemoved();
6262
}
6363
}

0 commit comments

Comments
 (0)