mirror of
https://github.com/mcMMO-Dev/mcMMO.git
synced 2025-12-08 10:18:46 +01:00
Fixing like 10 memory leaks Fixes #4670
This commit is contained in:
@@ -119,6 +119,7 @@ public class RuptureTask extends BukkitRunnable {
|
||||
//
|
||||
// targetEntity.removeMetadata(mcMMO.RUPTURE_META_KEY, mcMMO.p);
|
||||
|
||||
targetEntity.removeMetadata(MetadataConstants.METADATA_KEY_RUPTURE, mcMMO.p);
|
||||
this.cancel(); //Task no longer needed
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user