mirror of
https://github.com/CitizensDev/Citizens2.git
synced 2024-11-22 10:36:10 +01:00
Trial calling super#stopListening() in player advancements
This commit is contained in:
parent
0804f90efd
commit
045054c076
@ -24,6 +24,7 @@ public class EmptyAdvancementDataPlayer extends AdvancementDataPlayer {
|
||||
|
||||
@Override
|
||||
public void a() {
|
||||
super.a();
|
||||
}
|
||||
|
||||
@Override
|
||||
|
@ -56,6 +56,7 @@ public class EmptyAdvancementDataPlayer extends PlayerAdvancements {
|
||||
|
||||
@Override
|
||||
public void stopListening() {
|
||||
super.stopListening();
|
||||
}
|
||||
|
||||
public static void clear(PlayerAdvancements data) {
|
||||
|
@ -56,6 +56,7 @@ public class EmptyAdvancementDataPlayer extends PlayerAdvancements {
|
||||
|
||||
@Override
|
||||
public void stopListening() {
|
||||
super.stopListening();
|
||||
}
|
||||
|
||||
public static void clear(PlayerAdvancements data) {
|
||||
|
@ -58,6 +58,7 @@ public class EmptyAdvancementDataPlayer extends PlayerAdvancements {
|
||||
|
||||
@Override
|
||||
public void stopListening() {
|
||||
super.stopListening();
|
||||
}
|
||||
|
||||
public static void clear(PlayerAdvancements data) {
|
||||
|
@ -62,6 +62,7 @@ public class EmptyAdvancementDataPlayer extends PlayerAdvancements {
|
||||
|
||||
@Override
|
||||
public void stopListening() {
|
||||
super.stopListening();
|
||||
}
|
||||
|
||||
public static void clear(PlayerAdvancements data) {
|
||||
|
@ -62,9 +62,10 @@ public class EmptyAdvancementDataPlayer extends PlayerAdvancements {
|
||||
|
||||
@Override
|
||||
public void stopListening() {
|
||||
super.stopListening();
|
||||
}
|
||||
|
||||
public static void clear(PlayerAdvancements data) {
|
||||
private static void clear(PlayerAdvancements data) {
|
||||
data.stopListening();
|
||||
try {
|
||||
((Map<?, ?>) PROGRESS.invoke(data)).clear();
|
||||
|
Loading…
Reference in New Issue
Block a user