mirror of
https://github.com/mcMMO-Dev/mcMMO.git
synced 2024-11-22 05:06:45 +01:00
Don't simulate block breaks when assigning furnace ownership
This commit is contained in:
parent
2910240942
commit
3ae1b5e987
@ -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
|
||||
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
|
||||
|
2
pom.xml
2
pom.xml
@ -2,7 +2,7 @@
|
||||
<modelVersion>4.0.0</modelVersion>
|
||||
<groupId>com.gmail.nossr50.mcMMO</groupId>
|
||||
<artifactId>mcMMO</artifactId>
|
||||
<version>2.1.134</version>
|
||||
<version>2.1.135-SNAPSHOT</version>
|
||||
<name>mcMMO</name>
|
||||
<url>https://github.com/mcMMO-Dev/mcMMO</url>
|
||||
<scm>
|
||||
|
@ -53,10 +53,7 @@ public class SmeltingTracker {
|
||||
if(!Permissions.skillEnabled(player, PrimarySkillType.SMELTING))
|
||||
return;
|
||||
|
||||
//If the player is legally allowed to break the block then they can steal ownership
|
||||
if(EventUtils.simulateBlockBreak(furnace.getBlock(), player, true)) {
|
||||
changeFurnaceOwnership(furnace, player);
|
||||
}
|
||||
changeFurnaceOwnership(furnace, player);
|
||||
}
|
||||
|
||||
public void untrackFurnace(Furnace furnace) {
|
||||
|
Loading…
Reference in New Issue
Block a user