Slimes = Chickens?

Discussion in 'Plugin Development' started by Joey Clover, Mar 16, 2011.

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

    Joey Clover

    Code:
    if (slimeValue.equalsIgnoreCase("true")){
                    verifiedList.add(CreatureType.SLIME);
                }
    That is my code. May I ask why the SLIMES spawn as CHICKENS? ;/
     
  2. Offline

    Infernus

    First, what's slimeValue? Where exactly is this statement?
     
  3. Offline

    Joey Clover

    I made it myself. I read a file that I have created called EggSpawner.config. I check to see the 'SLIME' property. If it is true, I add a slime to my verified list. Then when a player throws an egg, changes the hatchType to a random, verifiedList monster.

    slimeValue = props.getProperty("SLIME");

    please help me :p

    EDIT by Moderator: merged posts, please use the edit button instead of double posting.
     
    Last edited by a moderator: May 12, 2016
  4. Offline

    Myers Carpenter

    Put up a complete copy of your code. It's hard to know what could be wrong from the little you put here.
     
Thread Status:
Not open for further replies.

Share This Page