Don't simulate block breaks when assigning furnace ownership

This commit is contained in:
nossr50 2020-07-25 08:37:19 -07:00
parent 2910240942
commit 3ae1b5e987
3 changed files with 5 additions and 5 deletions

View File

@ -1,3 +1,6 @@
Version 2.1.135
Furnaces no longer simulate block break checks when assigning ownership as it caused some unwanted plugin conflicts
Version 2.1.134 Version 2.1.134
Furnaces now change ownership to the last player who clicks in their inventory and is legally allowed to break the furnace Furnaces now change ownership to the last player who clicks in their inventory and is legally allowed to break the furnace
Smelting now has a Bonus Drops section in config.yml Smelting now has a Bonus Drops section in config.yml

View File

@ -2,7 +2,7 @@
<modelVersion>4.0.0</modelVersion> <modelVersion>4.0.0</modelVersion>
<groupId>com.gmail.nossr50.mcMMO</groupId> <groupId>com.gmail.nossr50.mcMMO</groupId>
<artifactId>mcMMO</artifactId> <artifactId>mcMMO</artifactId>
<version>2.1.134</version> <version>2.1.135-SNAPSHOT</version>
<name>mcMMO</name> <name>mcMMO</name>
<url>https://github.com/mcMMO-Dev/mcMMO</url> <url>https://github.com/mcMMO-Dev/mcMMO</url>
<scm> <scm>

View File

@ -53,10 +53,7 @@ public class SmeltingTracker {
if(!Permissions.skillEnabled(player, PrimarySkillType.SMELTING)) if(!Permissions.skillEnabled(player, PrimarySkillType.SMELTING))
return; return;
//If the player is legally allowed to break the block then they can steal ownership changeFurnaceOwnership(furnace, player);
if(EventUtils.simulateBlockBreak(furnace.getBlock(), player, true)) {
changeFurnaceOwnership(furnace, player);
}
} }
public void untrackFurnace(Furnace furnace) { public void untrackFurnace(Furnace furnace) {