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

Commit

Permalink
Remove rawIdToEntry instead of set null
Browse files Browse the repository at this point in the history
  • Loading branch information
andantet committed Jun 17, 2024
1 parent f04abb8 commit 91511e3
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 7 deletions.
8 changes: 4 additions & 4 deletions gradle.properties
Original file line number Diff line number Diff line change
@@ -1,16 +1,16 @@
org.gradle.jvmargs=-Xmx2G
org.gradle.parallel=true

minecraft_version=1.21-pre1
yarn_build=3
minecraft_version=1.21
yarn_build=2
loader_version=0.15.11

mod_version=1.1.0
mod_version=1.1.1

mod_id=bubble
maven_group=dev.andante

fabric_version=0.99.2+1.21
fabric_version=0.100.2+1.21

kotlin_version=1.9.24
fabric_kotlin_version=1.10.20+kotlin.1.9.24
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ public boolean remove(T value) {
}

try {
this.rawIdToEntry.set(rawId, null);
this.rawIdToEntry.remove(rawId);
RegistryKey<T> key = entry.registryKey();
this.idToEntry.remove(key.getValue());
this.keyToEntry.remove(key);
Expand Down
4 changes: 2 additions & 2 deletions src/main/resources/fabric.mod.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,8 @@
"version": "${version}",
"environment": "*",
"depends": {
"fabricloader": ">=0.14",
"minecraft": ">=1.21-beta"
"fabricloader": ">=0.15",
"minecraft": ">=1.21"
},
"entrypoints": {
"main": [
Expand Down

0 comments on commit 91511e3

Please sign in to comment.