Spawner place Help (Spawners are still pig when you place)

Status
This thread has been locked.

TheCrystalStar

Banned
Feedback score
2
Posts
213
Reactions
65
Resources
0
So I'm currently working on a plugin, and i have ran into a problem which I cannot seem to figure out.

Brief Idea of plugin: When to right click a spawner with a blaze rod the spawner drops and blaze rod breaks. All of that works and it gets the spawners state and sets the name to it followed by "Spawner" and adds the lore. So it would look like this.
Screenshot (37).png

(Without the numbers and other stuff (white and gray text (have f3+h on))

And now for my code:
http://bit.ly/2as9Vbb

I don't know how to fix this, I tried a bunch of things they all seem to work. And yes the events are registered in my main class.

I appreciate any help to solve this :)
 

Attachments

  • Screenshot (37).png
    Screenshot (37).png
    672.7 KB · Views: 52
  • upload_2016-8-5_12-15-4.png
    upload_2016-8-5_12-15-4.png
    778.6 KB · Views: 19
PebbleHost
High performance, consistent uptime and fast support. Minecraft hosting that just works.

jackskate

Setups & Configuration Specialist
Supreme
Feedback score
51
Posts
2,857
Reactions
975
Resources
0
I have the same issue on my server! When you buy a spawner from /shop and place it, it becomes a pig! I fixed it by making a sign shop
 

Satan

Devil#0666
Supreme
Feedback score
52
Posts
3,667
Reactions
1,442
Resources
0
Maybe goto spigotmc to solve your issues? Suffer some criticism as they are harsh coders but you'll get it faster than here.
 

TheCrystalStar

Banned
Feedback score
2
Posts
213
Reactions
65
Resources
0
Maybe goto spigotmc to solve your issues? Suffer some criticism as they are harsh coders but you'll get it faster than here.

Alright :/
 
Banned forever. Reason: Scamming (https://builtbybit.com/threads/thecrystalstar-scam-report.276555/)

abstraq

Premium
Feedback score
0
Posts
80
Reactions
33
Resources
0
Haven't messed with spawners in a while but If I remember correctly you have to set the type with CraftCreatureSpawner
 
Status
This thread has been locked.
Top