@@ -53,15 +53,15 @@
|
||||
}
|
||||
|
||||
+ // CraftBukkit start - add looting modifier
|
||||
+ public LootTableInfo.a lootingModifier(int modifier) {
|
||||
+ public LootTableInfo.Builder lootingModifier(int modifier) {
|
||||
+ this.lootingMod = modifier;
|
||||
+ return this;
|
||||
+ }
|
||||
+ // CraftBukkit end
|
||||
+
|
||||
public LootTableInfo a() {
|
||||
- return new LootTableInfo(this.b, this.a, this.a.getMinecraftServer().aP(), this.c, this.d, this.e, this.f);
|
||||
+ return new LootTableInfo(this.b, this.a, this.a.getMinecraftServer().aP(), this.c, this.d, this.e, this.f, this.lootingMod); // CraftBukkit add looting modifier
|
||||
public LootTableInfo build() {
|
||||
- return new LootTableInfo(this.b, this.a, this.a.getMinecraftServer().getLootTableRegistry(), this.c, this.d, this.e, this.f);
|
||||
+ return new LootTableInfo(this.b, this.a, this.a.getMinecraftServer().getLootTableRegistry(), this.c, this.d, this.e, this.f, this.lootingMod); // CraftBukkit add looting modifier
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user