mirror of
https://github.com/MinecraftForge/MinecraftForge.git
synced 2026-11-13 16:54:22 +00:00
Delete LootItemRandomChanceCondition.java.patch (#8734)
This commit is contained in:
1 parent
b46f7c0d85
commit
0f4e3146e0
1 file changed
-12
-12
@@ -1,12 +0,0 @@
|
||||
--- a/net/minecraft/world/level/storage/loot/predicates/LootItemRandomChanceCondition.java
|
||||
+++ b/net/minecraft/world/level/storage/loot/predicates/LootItemRandomChanceCondition.java
|
||||
@@ -18,7 +_,8 @@
|
||||
}
|
||||
|
||||
public boolean test(LootContext p_81930_) {
|
||||
- return p_81930_.m_78933_().nextFloat() < this.f_81921_;
|
||||
+ int i = p_81930_.getLootingModifier();
|
||||
+ return p_81930_.m_78933_().nextFloat() < this.f_81921_ + (float) i;
|
||||
}
|
||||
|
||||
public static LootItemCondition.Builder m_81927_(float p_81928_) {
|
||||
Reference in new issue
Block a user