Skip to content

Commit

Permalink
initial update for 1.14.2
Browse files Browse the repository at this point in the history
  • Loading branch information
mcmonkey4eva committed May 27, 2019
1 parent 6139308 commit 85626ad
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 7 deletions.
2 changes: 1 addition & 1 deletion pom.xml
Expand Up @@ -10,7 +10,7 @@

<properties>
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
<craftbukkit.version>1.14.1-R0.1-SNAPSHOT</craftbukkit.version>
<craftbukkit.version>1.14.2-R0.1-SNAPSHOT</craftbukkit.version>
<citizens.version>2.0.25-SNAPSHOT</citizens.version>
<dcore.version>1.40-SNAPSHOT</dcore.version>
<BUILD_NUMBER>Unknown</BUILD_NUMBER>
Expand Down
4 changes: 2 additions & 2 deletions v1_14_R1/pom.xml
Expand Up @@ -28,7 +28,7 @@
<dependency>
<groupId>org.spigotmc</groupId>
<artifactId>spigot-api</artifactId>
<version>1.14.1-R0.1-SNAPSHOT</version>
<version>1.14.2-R0.1-SNAPSHOT</version>
<scope>provided</scope>
<exclusions>
<exclusion>
Expand All @@ -40,7 +40,7 @@
<dependency>
<groupId>org.spigotmc</groupId>
<artifactId>spigot</artifactId>
<version>1.14.1-R0.1-SNAPSHOT</version>
<version>1.14.2-R0.1-SNAPSHOT</version>
<scope>provided</scope>
<exclusions>
<exclusion>
Expand Down
Expand Up @@ -73,7 +73,7 @@ public void undisableAsyncCatcher() {

@Override
public boolean isCorrectMappingsCode() {
return ((CraftMagicNumbers) CraftMagicNumbers.INSTANCE).getMappingsVersion().equals("48be70f51ffe914d865f175ed3bf992d");
return ((CraftMagicNumbers) CraftMagicNumbers.INSTANCE).getMappingsVersion().equals("28fc84e92753a1f24483290e13e0ee4c");
}

@Override
Expand Down
Expand Up @@ -73,7 +73,7 @@ private ItemStack catchRandomJunk(EntityFishingHook fishHook) {
//playerFishEvent2.luck((float) EnchantmentManager.a(Enchantments.LUCK, fishHook.owner) + fishHook.owner.dJ());
LootTableRegistry registry = fishHook.getWorld().getMinecraftServer().getLootTableRegistry();
List<ItemStack> itemStacks = registry.getLootTable(LootTables.ac)
.populateLoot(playerFishEvent2.build(registry.getLootTable(LootTables.ac).a()));
.populateLoot(playerFishEvent2.build(registry.getLootTable(LootTables.ac).getLootContextParameterSet()));
return itemStacks.get(worldServer.random.nextInt(itemStacks.size()));
}

Expand All @@ -85,7 +85,7 @@ private ItemStack catchRandomTreasure(EntityFishingHook fishHook) {
//playerFishEvent2.luck((float) EnchantmentManager.a(Enchantments.LUCK, fishHook.owner) + fishHook.owner.dJ());
LootTableRegistry registry = fishHook.getWorld().getMinecraftServer().getLootTableRegistry();
List<ItemStack> itemStacks = registry.getLootTable(LootTables.ad)
.populateLoot(playerFishEvent2.build(registry.getLootTable(LootTables.ad).a()));
.populateLoot(playerFishEvent2.build(registry.getLootTable(LootTables.ad).getLootContextParameterSet()));
return itemStacks.get(worldServer.random.nextInt(itemStacks.size()));
}

Expand All @@ -98,7 +98,7 @@ private ItemStack catchRandomFish(EntityFishingHook fishHook) {
//playerFishEvent2.luck((float) EnchantmentManager.a(Enchantments.LUCK, fishHook.owner) + fishHook.owner.dJ());
LootTableRegistry registry = fishHook.getWorld().getMinecraftServer().getLootTableRegistry();
List<ItemStack> itemStacks = registry.getLootTable(LootTables.ae)
.populateLoot(playerFishEvent2.build(registry.getLootTable(LootTables.ae).a()));
.populateLoot(playerFishEvent2.build(registry.getLootTable(LootTables.ae).getLootContextParameterSet()));
return itemStacks.get(worldServer.random.nextInt(itemStacks.size()));
}
}

0 comments on commit 85626ad

Please sign in to comment.