Skip to content

Commit

Permalink
Fix crash, set version 11.0.9 (Fixes #381)
Browse files Browse the repository at this point in the history
  • Loading branch information
itsmeow committed Dec 23, 2022
1 parent 21a8fc9 commit d84d351
Show file tree
Hide file tree
Showing 6 changed files with 13 additions and 10 deletions.
4 changes: 4 additions & 0 deletions changelog.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
# 11.0.9

- 1.19: Fixed mixin crash

# 11.0.8

- Updated Spanish Localization (Thanks angelapuzzle)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -76,8 +76,7 @@ public static void init(Consumer<Runnable> enqueue) {
}

public static boolean isDev(UUID uuid) {
//return DEVS.contains(uuid);
return true;
return DEVS.contains(uuid);
}

public static boolean isDev(Player player) {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
@Mixin(LocalPlayer.class)
public class LocalPlayerMixin {

@Inject(method = "command(Ljava/lang/String;Lnet/minecraft/network/chat/Component;)V", at = @At("HEAD"), cancellable = true)
@Inject(method = "sendCommand(Ljava/lang/String;Lnet/minecraft/network/chat/Component;)V", at = @At("HEAD"), cancellable = true)
public void command(String message, Component component, CallbackInfo callback) {
if (DeveloperRenderThing.chat("/" + message).isFalse())
callback.cancel();
Expand Down
2 changes: 1 addition & 1 deletion fabric/src/main/resources/fabric.mod.json
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@
]
},
"depends": {
"minecraft": "1.19.x",
"minecraft": "1.19.2",
"architectury": ">=5.6.21",
"fabricloader": ">=0.12.0",
"fabric": ">=0.32.0"
Expand Down
6 changes: 3 additions & 3 deletions forge/src/main/resources/META-INF/mods.toml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
modLoader="javafml" #mandatory
loaderVersion="[41,)" #mandatory
loaderVersion="[43,)" #mandatory
issueTrackerURL="https://github.com/itsmeow/betteranimalsplus/issues" #optional
displayURL="https://betteranimalsplus.com/" #optional
logoFile="icon.png" #optional
Expand All @@ -17,12 +17,12 @@ Adds 35+ new animals to your world, with items, food, blocks, and armor to suppl
[[dependencies.betteranimalsplus]]
modId="forge"
mandatory=true
versionRange="[41.0.94,)"
versionRange="[43.0.0,)"
ordering="NONE"
side="BOTH"
[[dependencies.betteranimalsplus]]
modId="architectury"
mandatory=true
versionRange="[5.9.30,)"
versionRange="[5.9.30,7.0.0)"
ordering="NONE"
side="BOTH"
6 changes: 3 additions & 3 deletions gradle.properties
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# Mod Attributes
mod_version = 11.0.8
mod_version = 11.0.9
mod_id = betteranimalsplus
maven_group = dev.itsmeow.betteranimalsplus

Expand All @@ -18,8 +18,8 @@
hook_content = <@&658183075255025664>
curse_title = Better Animals Plus
curse_project_id = 303557
curse_versions_fabric = Minecraft 1.19:1.19,Minecraft 1.19:1.19.1,Minecraft 1.19:1.19.2,Java 17,Fabric,Quilt
curse_versions_forge = Minecraft 1.19:1.19,Minecraft 1.19:1.19.1,Minecraft 1.19:1.19.2,Java 17,Forge
curse_versions_fabric = Minecraft 1.19:1.19.2,Java 17,Fabric,Quilt
curse_versions_forge = Minecraft 1.19:1.19.2,Java 17,Forge
curse_relations_fabric = fabric-api:requiredDependency,architectury-api:requiredDependency,cloth-config:optionalDependency,modmenu:optionalDependency,trinkets:optionalDependency,fiber2cloth:embeddedLibrary
curse_relations_forge = architectury-api:requiredDependency,curios:optionalDependency

Expand Down

0 comments on commit d84d351

Please sign in to comment.