mirror of
https://github.com/barkeser2002/CatServer.git
synced 2026-09-25 02:20:01 +03:00
12 lines
509 B
Diff
12 lines
509 B
Diff
--- ../src-base/minecraft/net/minecraft/tileentity/TileEntityLockableLoot.java
|
|
+++ ../src-work/minecraft/net/minecraft/tileentity/TileEntityLockableLoot.java
|
|
@@ -73,7 +73,7 @@
|
|
|
|
if (player != null)
|
|
{
|
|
- lootcontext$builder.withLuck(player.getLuck());
|
|
+ lootcontext$builder.withLuck(player.getLuck()).withPlayer(player); // Forge: add player to LootContext
|
|
}
|
|
|
|
loottable.fillInventory(this, random, lootcontext$builder.build());
|