i have decided to kill infinite minecraft food glitch
This commit is contained in:
parent
5accbad0d9
commit
029611314a
@ -406,7 +406,7 @@ hash = "533058559f25ad96f1c58658b36f2eb9bef5a4b2e4ad09ce32dd7ef81b0afe86"
|
||||
|
||||
[[files]]
|
||||
file = "kubejs/startup_scripts/rebalance.js"
|
||||
hash = "5dafbcb697279d5a0475d7a883e6dbbb3f47a32c37452fbdfdd39f20bb200a38"
|
||||
hash = "6349657e630ddfa767f01dfe5f67ea3ffb2c6a522594bf87bb4c0282417b849a"
|
||||
|
||||
[[files]]
|
||||
file = "kubejs/startup_scripts/tinkermode.js"
|
||||
|
@ -1,9 +1,5 @@
|
||||
ItemEvents.modification(event => {
|
||||
event.modify('pamhc2foodcore:freshwateritem', item => {
|
||||
item.foodProperties = food => {
|
||||
food.hunger(0.5);
|
||||
food.saturation(0.5);
|
||||
food.fastToEat(false);
|
||||
};
|
||||
item.foodProperties = null;
|
||||
});
|
||||
});
|
Loading…
Reference in New Issue
Block a user