Dismiss Notice
Wynncraft, the Minecraft MMORPG. Play it now on your Minecraft client at (IP): play.wynncraft.com. No mods required! Click here for more info...

What Even Is This, Bukkit Thing?

Discussion in 'Minecraft' started by YYGAYMER, Aug 3, 2017.

Thread Status:
Not open for further replies.
  1. YYGAYMER

    YYGAYMER reeeee FW FW Media HIC Master Featured Wynncraftian

    Messages:
    5,160
    Likes Received:
    16,288
    Trophy Points:
    215
    Guild:
    Minecraft:
    @최건 is keep making Moto-Online.
    (Not dead yet?!)

    He asked me to make quesion about this.



    Code:
            for (int nvm = 0; ChatColor.stripColor(weapon_attacker.getLore().get(nvm)) == null && ChatColor.stripColor(weapon_attacker.getLore().get(nvm + 1)) == null; nvm++) {
                
                String weapon_attacker_id = ChatColor.stripColor(weapon_attacker.getLore().get(nvm));
                String weapon_victim_id = ChatColor.stripColor(weapon_victim.getLore().get(nvm));
                
                if (weapon_attacker_id.contains("Neutral Damage")) {
                     String raw = weapon_attacker_id.replaceAll("[✤|Neutral|Damage|+| ]", "");
                     String[] split = raw.split("-");
                     Neutral_Damage = range.nextInt(Integer.parseInt(split[2]))+Integer.parseInt(split[1]);
                     attacker.sendMessage(ChatColor.GREEN + Integer.toString(Neutral_Damage));
                }
    }
    He said it doesn't show anything


    Any ideas?
    I don't study things on that..
     
  2. Akelbakelhuhn

    Akelbakelhuhn inactive boii VIP+

    Messages:
    554
    Likes Received:
    1,193
    Trophy Points:
    146
    Minecraft:
    It would be easier to help you if you'd post all of the code here
     
Thread Status:
Not open for further replies.