mirror of
https://github.com/Zrips/Jobs.git
synced 2025-02-27 17:52:17 +01:00
Lets remove meta
This commit is contained in:
parent
6accc15a4f
commit
ac5c0a4624
@ -1023,7 +1023,11 @@ public class JobsPaymentListener implements Listener {
|
|||||||
|
|
||||||
// mob spawner, no payment or experience
|
// mob spawner, no payment or experience
|
||||||
if (lVictim.hasMetadata(Jobs.getPlayerManager().getMobSpawnerMetadata()) && !Jobs.getGCManager().payNearSpawner()) {
|
if (lVictim.hasMetadata(Jobs.getPlayerManager().getMobSpawnerMetadata()) && !Jobs.getGCManager().payNearSpawner()) {
|
||||||
//lVictim.removeMetadata(mobSpawnerMetadata, plugin);
|
try {
|
||||||
|
// So lets remove meta in case some plugin removes entity in wrong way.
|
||||||
|
lVictim.removeMetadata(Jobs.getPlayerManager().getMobSpawnerMetadata(), plugin);
|
||||||
|
} catch (Exception ex) {
|
||||||
|
}
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
name: Jobs
|
name: Jobs
|
||||||
description: Jobs Plugin for the BukkitAPI
|
description: Jobs Plugin for the BukkitAPI
|
||||||
main: com.gamingmesh.jobs.Jobs
|
main: com.gamingmesh.jobs.Jobs
|
||||||
version: 4.7.1
|
version: 4.7.2
|
||||||
api-version: 1.13
|
api-version: 1.13
|
||||||
website: https://www.spigotmc.org/resources/jobs-reborn.4216/
|
website: https://www.spigotmc.org/resources/jobs-reborn.4216/
|
||||||
author: phrstbrn
|
author: phrstbrn
|
||||||
|
Loading…
Reference in New Issue
Block a user