mirror of
https://github.com/PaperMC/Paper.git
synced 2025-01-04 18:12:09 +01:00
Implement getNMSWorld on EntityMinecartContainer
Was missed because the class is abstract and nothing implementing the class was imported in Paper
This commit is contained in:
parent
22d5cbee82
commit
2570184ba1
1 changed files with 5 additions and 0 deletions
|
@ -483,6 +483,11 @@ index 0000000000000000000000000000000000000000..00000000000000000000000000000000
|
||||||
+ return lootableData;
|
+ return lootableData;
|
||||||
+ }
|
+ }
|
||||||
+
|
+
|
||||||
|
+ @Override
|
||||||
|
+ public World getNMSWorld() {
|
||||||
|
+ return this.world;
|
||||||
|
+ }
|
||||||
|
+
|
||||||
+ public String getLootTableName() {
|
+ public String getLootTableName() {
|
||||||
+ final MinecraftKey key = getLootTableKey();
|
+ final MinecraftKey key = getLootTableKey();
|
||||||
+ return key != null ? key.toString() : null;
|
+ return key != null ? key.toString() : null;
|
||||||
|
|
Loading…
Reference in a new issue