Add getter for the world to LootContext (#2954)

This commit is contained in:
Vincent Lee authored and LexManos committed 2016-06-09 03:37:11 -07:00
1 parent ca6d1c9e3d
commit 6a3b734801
1 file changed
+14
@@ -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;