Skip to content

Commit efddef4

Browse files
committed
Commands mapping updated.
Signed-off-by: Pavel Erokhin (MairwunNx) <[email protected]>
1 parent c3ebcc3 commit efddef4

File tree

1 file changed

+1
-1
lines changed
  • src/main/java/com/mairwunnx/projectessentials/core/impl/vanilla/commands

1 file changed

+1
-1
lines changed

src/main/java/com/mairwunnx/projectessentials/core/impl/vanilla/commands/LootCommand.java

+1-1
Original file line numberDiff line numberDiff line change
@@ -319,7 +319,7 @@ private static int func_218869_a(CommandContext<CommandSource> p_218869_0_, Enti
319319
if (!(p_218869_1_ instanceof LivingEntity)) {
320320
throw field_218906_c.create(p_218869_1_.getDisplayName());
321321
} else {
322-
ResourceLocation resourcelocation = ((LivingEntity) p_218869_1_).func_213346_cF();
322+
ResourceLocation resourcelocation = ((LivingEntity) p_218869_1_).getLootTableResourceLocation();
323323
CommandSource commandsource = p_218869_0_.getSource();
324324
LootContext.Builder lootcontext$builder = new LootContext.Builder(commandsource.getWorld());
325325
Entity entity = commandsource.getEntity();

0 commit comments

Comments
 (0)