mirror of
https://github.com/mcMMO-Dev/mcMMO.git
synced 2024-11-25 14:46:46 +01:00
2.1.136
This commit is contained in:
parent
38122d8f17
commit
270298c265
@ -2,6 +2,11 @@ Version 2.1.136
|
||||
Furnace ownership is no longer lost when the furnace stops doing a job
|
||||
Furnaces remember owners between restarts (requires MC 1.14 or higher)
|
||||
|
||||
NOTES:
|
||||
I'm making use of a Spigot API for persistent data for versions of MC 1.14 and above, for versions below the data will be temporary as it has been up until this point.
|
||||
In the future I'll wire up NMS to make use of NBT and all versions will have persistent data support.
|
||||
|
||||
|
||||
Version 2.1.135
|
||||
Furnaces no longer simulate block break checks when assigning ownership as it caused some unwanted plugin conflicts
|
||||
Fixed an issue where Fishing would break if exploit protection was turned off for Fishing (Thanks Ineusia)
|
||||
|
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.136-SNAPSHOT</version>
|
||||
<version>2.1.136</version>
|
||||
<name>mcMMO</name>
|
||||
<url>https://github.com/mcMMO-Dev/mcMMO</url>
|
||||
<scm>
|
||||
|
@ -1,7 +1,6 @@
|
||||
package com.gmail.nossr50.util.compat.layers.persistentdata;
|
||||
|
||||
import com.gmail.nossr50.mcMMO;
|
||||
import org.bukkit.Bukkit;
|
||||
import org.bukkit.NamespacedKey;
|
||||
import org.bukkit.block.Furnace;
|
||||
import org.bukkit.persistence.PersistentDataContainer;
|
||||
@ -38,6 +37,7 @@ public class SpigotPersistentDataLayer extends AbstractPersistentDataLayer {
|
||||
//Get container from entity
|
||||
PersistentDataContainer dataContainer = ((PersistentDataHolder) furnace).getPersistentDataContainer();
|
||||
|
||||
//Too lazy to make a custom data type for this stuff
|
||||
Long mostSigBits = dataContainer.get(furnaceOwner_MostSig_Key, PersistentDataType.LONG);
|
||||
Long leastSigBits = dataContainer.get(furnaceOwner_LeastSig_Key, PersistentDataType.LONG);
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user