Items spawned from the "Spawn Gem" script turn into "ghost items"

Started by Sweddy on

Topic category: Troubleshooting, bugs, and solutions

Last seen on 16:40, 4. Oct 2018
Joined Sep 2013
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Items spawned from the "Spawn Gem" script turn into "ghost items"

Whenever an item is spawned using the "spawn gem" script it can be picked up by the player but it will still be seen as if it's dropped on the ground.

Last seen on 17:17, 10. Jan 2024
Joined Aug 2013
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
You must spawn it server-side
Thu, 03/10/2016 - 18:11

You must spawn it server-side only.
if(world.isRemote){.....

Last seen on 16:40, 4. Oct 2018
Joined Sep 2013
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
RE:You must spawn it server-side
Fri, 03/11/2016 - 10:14

And what the hell is that supposed to mean?

Last seen on 08:43, 12. Mar 2016
Joined Aug 2014
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
RE:You must spawn it server-side
Sat, 03/12/2016 - 08:36

@#1 Thank you!

Last seen on 08:43, 12. Mar 2016
Joined Aug 2014
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
RE:You must spawn it server-side
Sat, 03/12/2016 - 08:43

@#1.1 But it still doesn't work!

Last seen on 17:17, 10. Jan 2024
Joined Aug 2013
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
RE:RE:You must spawn it server-side
Sat, 03/12/2016 - 08:55

@#1.1.1 Oh , i forgot "!" , it must beĀ if(!world.isRemote){....