mirror of
https://gitlab.com/phoenix-dvpmt/mmocore.git
synced 2024-11-27 00:45:40 +01:00
Increased event prior to prevent exp dupe
This commit is contained in:
parent
5117431641
commit
fb80ed2ce1
@ -33,7 +33,7 @@ public class MineBlockExperienceSource extends SpecificExperienceSource<Material
|
||||
@Override
|
||||
public ExperienceSourceManager<MineBlockExperienceSource> newManager() {
|
||||
return new ExperienceSourceManager<MineBlockExperienceSource>() {
|
||||
@EventHandler(priority = EventPriority.HIGH, ignoreCancelled = true)
|
||||
@EventHandler(priority = EventPriority.HIGHEST, ignoreCancelled = true)
|
||||
public void a(BlockBreakEvent event) {
|
||||
if (event.getPlayer().getGameMode() != GameMode.SURVIVAL)
|
||||
return;
|
||||
|
Loading…
Reference in New Issue
Block a user