Fix recipe

This commit is contained in:
Bruno Rybársky 2024-08-18 11:49:20 +02:00
parent 8a53f20f77
commit 0366fe425a
5 changed files with 13 additions and 13 deletions

@ -2,17 +2,17 @@
org.gradle.jvmargs=-Xmx1G org.gradle.jvmargs=-Xmx1G
# Fabric Properties # Fabric Properties
# check these on https://modmuss50.me/fabric.html # check these on https://modmuss50.me/fabric.html
minecraft_version=1.21 minecraft_version=1.21.1
yarn_mappings=1.21+build.9 yarn_mappings=1.21.1+build.3
loader_version=0.16.0 loader_version=0.16.0
# Mod Properties # Mod Properties
mod_version=1.9.1 mod_version=1.9.3
maven_group=systems.brn maven_group=systems.brn
archives_base_name=plasticgun archives_base_name=plasticgun
# Dependencies # Dependencies
# check this on https://modmuss50.me/fabric.html # check this on https://modmuss50.me/fabric.html
fabric_version=0.100.8+1.21 fabric_version=0.102.1+1.21.1
polymer_version=0.9.8+1.21 polymer_version=0.9.9+1.21
server_translations_api_version=2.3.1+1.21-pre2 server_translations_api_version=2.3.1+1.21-pre2
trinkets_version=3.10.0+polymerport.2 trinkets_version=3.10.0+polymerport.2

@ -22,9 +22,9 @@ public abstract class SimpleItem extends SimplePolymerItem implements PolymerIte
@Override @Override
public Item getPolymerItem(ItemStack itemStack, @Nullable ServerPlayerEntity player) { public Item getPolymerItem(ItemStack itemStack, @Nullable ServerPlayerEntity player) {
if(PlasticGun.clientsWithMod.contains(player)){ // if(PlasticGun.clientsWithMod.contains(player)){
return this; // return this;
} // }
return this.polymerModel.item(); return this.polymerModel.item();
} }

@ -7,7 +7,7 @@
], ],
"key": { "key": {
"K": { "K": {
"tag": "plasticgun:kevlar_sheet" "item": "plasticgun:kevlar_sheet"
} }
}, },
"result": { "result": {

@ -24,7 +24,7 @@
"depends": { "depends": {
"fabricloader": ">=${loader_version}", "fabricloader": ">=${loader_version}",
"fabric": "*", "fabric": "*",
"minecraft": "${minecraft_version}", "minecraft": ">=${minecraft_version}",
"trinkets": ">=${trinkets_version}" "trinkets": ">=${trinkets_version}"
} }
} }