Add getter for the world to LootContext (#2954)
This commit is contained in:
parent
ca6d1c9e3d
commit
6a3b734801
|
@ -0,0 +1,14 @@
|
|||
--- ../src-base/minecraft/net/minecraft/world/storage/loot/LootContext.java
|
||||
+++ ../src-work/minecraft/net/minecraft/world/storage/loot/LootContext.java
|
||||
@@ -89,6 +89,11 @@
|
||||
}
|
||||
}
|
||||
|
||||
+ public WorldServer getWorld()
|
||||
+ {
|
||||
+ return field_186499_b;
|
||||
+ }
|
||||
+
|
||||
public static class Builder
|
||||
{
|
||||
private final WorldServer field_186474_a;
|
Loading…
Reference in New Issue