Clear block choice when leaving arena, so it doesn't continue onto the next map
This commit is contained in:
parent
7791e19ac8
commit
865b0bf3f9
@ -315,6 +315,7 @@ public class ArenaHandler {
|
|||||||
player.setWalkSpeed(0.2F);
|
player.setWalkSpeed(0.2F);
|
||||||
|
|
||||||
MemoryStorage.pData.remove(player);
|
MemoryStorage.pData.remove(player);
|
||||||
|
MemoryStorage.choosenBlock.remove(player);
|
||||||
|
|
||||||
for (Player pl : Bukkit.getOnlinePlayers()) {
|
for (Player pl : Bukkit.getOnlinePlayers()) {
|
||||||
pl.showPlayer(BlockHunt.plugin, player);
|
pl.showPlayer(BlockHunt.plugin, player);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user