mirror of
https://github.com/TotalFreedomMC/TF-ProjectKorra.git
synced 2025-02-11 19:50:37 +00:00
Modified MetalClips Listener
Fixed an issue with MetalClips in the Listener.
This commit is contained in:
parent
1eb5092a31
commit
470d82a910
1 changed files with 4 additions and 1 deletions
|
@ -816,7 +816,10 @@ public class PKListener implements Listener {
|
||||||
|
|
||||||
if(abil.equalsIgnoreCase("MetalClips"))
|
if(abil.equalsIgnoreCase("MetalClips"))
|
||||||
{
|
{
|
||||||
|
if(!MetalClips.instances.containsKey(player))
|
||||||
new MetalClips(player);
|
new MetalClips(player);
|
||||||
|
else if(MetalClips.instances.containsKey(player))
|
||||||
|
MetalClips.instances.get(player).shootMetal();
|
||||||
}
|
}
|
||||||
|
|
||||||
if (abil.equalsIgnoreCase("LavaSurge")) {
|
if (abil.equalsIgnoreCase("LavaSurge")) {
|
||||||
|
|
Loading…
Reference in a new issue