Jump to content

Dedicated Server crashes while opening a Gui[UNSOLVED]


ItsAMysteriousYT

Recommended Posts

In my CommonHandler (registered to FMLCommonHandler.instance.bus) i have some methods that set IEPP when the player spawns. Now i need to open a gui when a specific value in these extendedPlayerProps is null or isEmpty(for a string). So i decided to add a ID to the gui and i try opening it using the PlayerTickEvent. But somehow it causes a server crash.

 

This is my code:

 

@SubscribeEvent
public void updateRealLifeProps(PlayerTickEvent event) {
	if(event.player.ticksExisted>2)
	if (RLMPlayerProps.get(event.player) != null) {
			RLMPlayerProps.get(event.player).circleOfLife();
	}else
	{
		RLMPlayerProps.register(event.player);
	}

	if(RLMPlayerProps.get(event.player)!=null){
		RLMPlayerProps props=RLMPlayerProps.get(event.player);
		if(props.getName()==null||props.getSurname()==null||props.getGender()==null){
		BlockPos p=event.player.getPosition();
		event.player.openGui(RealLifeMod.instance, GuiModInit.ID, event.player.worldObj,
				p.getX(), p.getY(), p.getZ());
		}
	}
}

@SubscribeEvent
public void onEntityConstructing(EntityConstructing event) {
	if (event.entity instanceof EntityPlayer) {
		if (RLMPlayerProps.get((EntityPlayer) event.entity) == null) {
			RLMPlayerProps.register((EntityPlayer) event.entity);
		}
	}
}

 

This is the ServerLog:

 

 

[16:56:25] [main/INFO] [LaunchWrapper]: Loading tweak class name net.minecraftforge.fml.common.launcher.FMLServerTweaker

[16:56:25] [main/INFO] [LaunchWrapper]: Using primary tweak class name net.minecraftforge.fml.common.launcher.FMLServerTweaker

[16:56:25] [main/INFO] [LaunchWrapper]: Calling tweak class net.minecraftforge.fml.common.launcher.FMLServerTweaker

[16:56:26] [main/INFO] [FML]: Forge Mod Loader version 11.14.3.1513 for Minecraft 1.8 loading

[16:56:26] [main/INFO] [FML]: Java is Java HotSpot 64-Bit Server VM, version 1.8.0_60, running on Windows 10:amd64:10.0, installed at C:\Program Files\Java\jre1.8.0_60

[16:56:26] [main/INFO] [LaunchWrapper]: Loading tweak class name net.minecraftforge.fml.common.launcher.FMLInjectionAndSortingTweaker

[16:56:26] [main/INFO] [LaunchWrapper]: Loading tweak class name net.minecraftforge.fml.common.launcher.FMLDeobfTweaker

[16:56:26] [main/INFO] [LaunchWrapper]: Calling tweak class net.minecraftforge.fml.common.launcher.FMLInjectionAndSortingTweaker

[16:56:26] [main/INFO] [LaunchWrapper]: Calling tweak class net.minecraftforge.fml.common.launcher.FMLInjectionAndSortingTweaker

[16:56:26] [main/INFO] [LaunchWrapper]: Calling tweak class net.minecraftforge.fml.relauncher.CoreModManager$FMLPluginWrapper

[16:56:27] [main/ERROR] [FML]: FML appears to be missing any signature data. This is not a good thing

[16:56:27] [main/INFO] [LaunchWrapper]: Calling tweak class net.minecraftforge.fml.relauncher.CoreModManager$FMLPluginWrapper

[16:56:27] [main/INFO] [LaunchWrapper]: Calling tweak class net.minecraftforge.fml.common.launcher.FMLDeobfTweaker

[16:56:28] [main/INFO] [LaunchWrapper]: Loading tweak class name net.minecraftforge.fml.common.launcher.TerminalTweaker

[16:56:28] [main/INFO] [LaunchWrapper]: Calling tweak class net.minecraftforge.fml.common.launcher.TerminalTweaker

[16:56:29] [main/INFO] [LaunchWrapper]: Launching wrapped minecraft {net.minecraft.server.MinecraftServer}

[16:56:36] [server thread/INFO] [net.minecraft.server.dedicated.DedicatedServer]: Starting minecraft server version 1.8

[16:56:36] [server console handler/ERROR] [net.minecraft.server.dedicated.DedicatedServer]: Exception handling console input

java.io.IOException: Das Handle ist ungültig

at java.io.FileInputStream.readBytes(Native Method) ~[?:1.8.0_60]

at java.io.FileInputStream.read(Unknown Source) ~[?:1.8.0_60]

at java.io.BufferedInputStream.read1(Unknown Source) ~[?:1.8.0_60]

at java.io.BufferedInputStream.read(Unknown Source) ~[?:1.8.0_60]

at sun.nio.cs.StreamDecoder.readBytes(Unknown Source) ~[?:1.8.0_60]

at sun.nio.cs.StreamDecoder.implRead(Unknown Source) ~[?:1.8.0_60]

at sun.nio.cs.StreamDecoder.read(Unknown Source) ~[?:1.8.0_60]

at java.io.InputStreamReader.read(Unknown Source) ~[?:1.8.0_60]

at java.io.BufferedReader.fill(Unknown Source) ~[?:1.8.0_60]

at java.io.BufferedReader.readLine(Unknown Source) ~[?:1.8.0_60]

at java.io.BufferedReader.readLine(Unknown Source) ~[?:1.8.0_60]

at net.minecraft.server.dedicated.DedicatedServer$2.run(DedicatedServer.java:97) [pq.class:?]

[16:56:37] [server thread/INFO] [MinecraftForge]: Attempting early MinecraftForge initialization

[16:56:37] [server thread/INFO] [FML]: MinecraftForge v11.14.3.1513 Initialized

[16:56:37] [server thread/INFO] [FML]: Replaced 204 ore recipies

[16:56:37] [server thread/INFO] [MinecraftForge]: Completed early MinecraftForge initialization

[16:56:38] [server thread/INFO] [FML]: Found 0 mods from the command line. Injecting into mod discoverer

[16:56:38] [server thread/INFO] [FML]: Searching D:\Programmieren\RealLifeMod Server\mods for mods

[16:56:40] [server thread/INFO] [FML]: Forge Mod Loader has identified 4 mods to load

[16:56:40] [server thread/INFO] [FML]: Attempting connection with missing mods [mcp, FML, Forge, reallifemod] at CLIENT

[16:56:40] [server thread/INFO] [FML]: Attempting connection with missing mods [mcp, FML, Forge, reallifemod] at SERVER

[16:56:41] [server thread/INFO] [FML]: Processing ObjectHolder annotations

[16:56:41] [server thread/INFO] [FML]: Found 384 ObjectHolder annotations

[16:56:41] [server thread/INFO] [FML]: Identifying ItemStackHolder annotations

[16:56:41] [server thread/INFO] [FML]: Found 0 ItemStackHolder annotations

[16:56:42] [server thread/INFO] [FML]: Configured a dormant chunk cache size of 0

[16:56:43] [server thread/INFO] [FML]: Applying holder lookups

[16:56:43] [server thread/INFO] [FML]: Holder lookups applied

[16:56:43] [server thread/INFO] [FML]: Injecting itemstacks

[16:56:43] [server thread/INFO] [FML]: Itemstack injection complete

[16:56:43] [server thread/INFO] [net.minecraft.server.dedicated.DedicatedServer]: Loading properties

[16:56:43] [server thread/INFO] [net.minecraft.server.dedicated.DedicatedServer]: Default game type: SURVIVAL

[16:56:43] [server thread/INFO] [net.minecraft.server.dedicated.DedicatedServer]: Generating keypair

[16:56:43] [server thread/INFO] [net.minecraft.server.dedicated.DedicatedServer]: Starting Minecraft server on 25.144.58.2:25565

[16:56:43] [server thread/INFO] [FML]: Injecting itemstacks

[16:56:43] [server thread/INFO] [FML]: Itemstack injection complete

[16:56:44] [server thread/INFO] [FML]: Forge Mod Loader has successfully loaded 4 mods

[16:56:44] [server thread/INFO] [net.minecraft.server.dedicated.DedicatedServer]: Preparing level "world"

[16:56:44] [server thread/INFO] [FML]: Injecting existing block and item data into this server instance

[16:56:44] [server thread/INFO] [FML]: Applying holder lookups

[16:56:44] [server thread/INFO] [FML]: Holder lookups applied

[16:56:44] [server thread/INFO] [FML]: Loading dimension 0 (world) (net.minecraft.server.dedicated.DedicatedServer@1011a005)

[16:56:45] [server thread/INFO] [FML]: Loading dimension 1 (world) (net.minecraft.server.dedicated.DedicatedServer@1011a005)

[16:56:45] [server thread/INFO] [FML]: Loading dimension -1 (world) (net.minecraft.server.dedicated.DedicatedServer@1011a005)

[16:56:45] [server thread/INFO] [net.minecraft.server.MinecraftServer]: Preparing start region for level 0

[16:56:46] [server thread/INFO] [net.minecraft.server.MinecraftServer]: Preparing spawn area: 0%

[16:56:47] [server thread/INFO] [net.minecraft.server.MinecraftServer]: Preparing spawn area: 36%

[16:56:48] [server thread/INFO] [net.minecraft.server.dedicated.DedicatedServer]: Done (3,423s)! For help, type "help" or "?"

[16:57:41] [user Authenticator #1/INFO] [net.minecraft.server.network.NetHandlerLoginServer]: UUID of player ItsAMysterious is ce4fd093-d594-40bf-8902-1920471e080c

[16:57:42] [Netty Server IO #3/INFO] [FML]: Client protocol version 2

[16:57:42] [Netty Server IO #3/INFO] [FML]: Client attempting to join with 4 mods : reallifemod@0.32,FML@8.0.99.99,Forge@11.14.3.1487,mcp@9.05

[16:57:42] [server thread/INFO] [FML]: [server thread] Server side modded connection established

[16:57:42] [server thread/INFO] [net.minecraft.server.management.ServerConfigurationManager]: ItsAMysterious[/25.144.58.2:52252] logged in with entity id 250 at (235.5, 62.0, 184.5)

[16:57:42] [server thread/INFO] [net.minecraft.server.MinecraftServer]: ItsAMysterious joined the game

[16:57:49] [server thread/ERROR] [FML]: Exception caught during firing event net.minecraftforge.fml.common.gameevent.TickEvent$PlayerTickEvent@43328fb5:

java.lang.NoClassDefFoundError: net/minecraft/client/entity/EntityPlayerSP

at itsamysterious.mods.reallifemod.core.handlers.CommonHandler.updateRealLifeProps(CommonHandler.java:31) ~[CommonHandler.class:?]

at net.minecraftforge.fml.common.eventhandler.ASMEventHandler_11_CommonHandler_updateRealLifeProps_PlayerTickEvent.invoke(.dynamic) ~[?:?]

at net.minecraftforge.fml.common.eventhandler.ASMEventHandler.invoke(ASMEventHandler.java:55) ~[ASMEventHandler.class:?]

at net.minecraftforge.fml.common.eventhandler.EventBus.post(EventBus.java:138) [EventBus.class:?]

at net.minecraftforge.fml.common.FMLCommonHandler.onPlayerPreTick(FMLCommonHandler.java:386) [FMLCommonHandler.class:?]

at net.minecraft.entity.player.EntityPlayer.func_70071_h_(EntityPlayer.java:219) [ahd.class:?]

at net.minecraft.entity.player.EntityPlayerMP.func_71127_g(EntityPlayerMP.java:340) [qw.class:?]

at net.minecraft.network.NetHandlerPlayServer.func_147347_a(NetHandlerPlayServer.java:326) [rj.class:?]

at net.minecraft.network.play.client.C03PacketPlayer.func_148833_a(SourceFile:126) [mg.class:?]

at net.minecraft.network.play.client.C03PacketPlayer$C06PacketPlayerPosLook.func_148833_a(SourceFile:18) [mi.class:?]

at net.minecraft.network.PacketThreadUtil$1.run(SourceFile:13) [ih.class:?]

at java.util.concurrent.Executors$RunnableAdapter.call(Unknown Source) [?:1.8.0_60]

at java.util.concurrent.FutureTask.run(Unknown Source) [?:1.8.0_60]

at net.minecraftforge.fml.common.FMLCommonHandler.callFuture(FMLCommonHandler.java:714) [FMLCommonHandler.class:?]

at net.minecraft.server.MinecraftServer.func_71190_q(MinecraftServer.java:656) [MinecraftServer.class:?]

at net.minecraft.server.dedicated.DedicatedServer.func_71190_q(DedicatedServer.java:364) [po.class:?]

at net.minecraft.server.MinecraftServer.func_71217_p(MinecraftServer.java:598) [MinecraftServer.class:?]

at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:478) [MinecraftServer.class:?]

at java.lang.Thread.run(Unknown Source) [?:1.8.0_60]

Caused by: java.lang.ClassNotFoundException: net.minecraft.client.entity.EntityPlayerSP

at net.minecraft.launchwrapper.LaunchClassLoader.findClass(LaunchClassLoader.java:191) ~[launchwrapper-1.12.jar:?]

at java.lang.ClassLoader.loadClass(Unknown Source) ~[?:1.8.0_60]

at java.lang.ClassLoader.loadClass(Unknown Source) ~[?:1.8.0_60]

... 19 more

Caused by: net.minecraftforge.fml.common.asm.ASMTransformerWrapper$TransformerException: Exception in class transformer net.minecraftforge.fml.common.asm.transformers.SideTransformer@3c01cfa1 from coremod FMLCorePlugin

at net.minecraftforge.fml.common.asm.ASMTransformerWrapper$TransformerWrapper.transform(ASMTransformerWrapper.java:234) ~[forge-1.8-11.14.3.1513-universal.jar:?]

at net.minecraft.launchwrapper.LaunchClassLoader.runTransformers(LaunchClassLoader.java:279) ~[launchwrapper-1.12.jar:?]

at net.minecraft.launchwrapper.LaunchClassLoader.findClass(LaunchClassLoader.java:176) ~[launchwrapper-1.12.jar:?]

at java.lang.ClassLoader.loadClass(Unknown Source) ~[?:1.8.0_60]

at java.lang.ClassLoader.loadClass(Unknown Source) ~[?:1.8.0_60]

... 19 more

Caused by: java.lang.RuntimeException: Attempted to load class cio for invalid side SERVER

at net.minecraftforge.fml.common.asm.transformers.SideTransformer.transform(SideTransformer.java:49) ~[forge-1.8-11.14.3.1513-universal.jar:?]

at net.minecraftforge.fml.common.asm.ASMTransformerWrapper$TransformerWrapper.transform(ASMTransformerWrapper.java:230) ~[forge-1.8-11.14.3.1513-universal.jar:?]

at net.minecraft.launchwrapper.LaunchClassLoader.runTransformers(LaunchClassLoader.java:279) ~[launchwrapper-1.12.jar:?]

at net.minecraft.launchwrapper.LaunchClassLoader.findClass(LaunchClassLoader.java:176) ~[launchwrapper-1.12.jar:?]

at java.lang.ClassLoader.loadClass(Unknown Source) ~[?:1.8.0_60]

at java.lang.ClassLoader.loadClass(Unknown Source) ~[?:1.8.0_60]

... 19 more

[16:57:49] [server thread/ERROR] [FML]: Index: 1 Listeners:

[16:57:49] [server thread/ERROR] [FML]: 0: NORMAL

[16:57:49] [server thread/ERROR] [FML]: 1: ASM: itsamysterious.mods.reallifemod.core.handlers.CommonHandler@7e5231f5 updateRealLifeProps(Lnet/minecraftforge/fml/common/gameevent/TickEvent$PlayerTickEvent;)V

[16:57:49] [server thread/ERROR] [FML]: 2: ASM: itsamysterious.mods.reallifemod.common.ServerTickHandler@4bdc1653 onPlayerTick(Lnet/minecraftforge/fml/common/gameevent/TickEvent$PlayerTickEvent;)V

[16:57:49] [server thread/FATAL] [FML]: Exception caught executing FutureTask: java.util.concurrent.ExecutionException: net.minecraft.util.ReportedException: Ticking player

java.util.concurrent.ExecutionException: net.minecraft.util.ReportedException: Ticking player

at java.util.concurrent.FutureTask.report(Unknown Source) ~[?:1.8.0_60]

at java.util.concurrent.FutureTask.get(Unknown Source) ~[?:1.8.0_60]

at net.minecraftforge.fml.common.FMLCommonHandler.callFuture(FMLCommonHandler.java:715) [FMLCommonHandler.class:?]

at net.minecraft.server.MinecraftServer.func_71190_q(MinecraftServer.java:656) [MinecraftServer.class:?]

at net.minecraft.server.dedicated.DedicatedServer.func_71190_q(DedicatedServer.java:364) [po.class:?]

at net.minecraft.server.MinecraftServer.func_71217_p(MinecraftServer.java:598) [MinecraftServer.class:?]

at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:478) [MinecraftServer.class:?]

at java.lang.Thread.run(Unknown Source) [?:1.8.0_60]

Caused by: net.minecraft.util.ReportedException: Ticking player

at net.minecraft.entity.player.EntityPlayerMP.func_71127_g(EntityPlayerMP.java:394) ~[qw.class:?]

at net.minecraft.network.NetHandlerPlayServer.func_147347_a(NetHandlerPlayServer.java:326) ~[rj.class:?]

at net.minecraft.network.play.client.C03PacketPlayer.func_148833_a(SourceFile:126) ~[mg.class:?]

at net.minecraft.network.play.client.C03PacketPlayer$C06PacketPlayerPosLook.func_148833_a(SourceFile:18) ~[mi.class:?]

at net.minecraft.network.PacketThreadUtil$1.run(SourceFile:13) ~[ih.class:?]

at java.util.concurrent.Executors$RunnableAdapter.call(Unknown Source) ~[?:1.8.0_60]

at java.util.concurrent.FutureTask.run(Unknown Source) ~[?:1.8.0_60]

at net.minecraftforge.fml.common.FMLCommonHandler.callFuture(FMLCommonHandler.java:714) ~[FMLCommonHandler.class:?]

... 5 more

 

at java.lang.Thread.run(Unknown Source) [?:1.8.0_60]

[16:58:06] [server thread/INFO] [net.minecraft.network.NetHandlerPlayServer]: ItsAMysterious lost connection: TranslatableComponent{key='disconnect.genericReason', args=[internal Exception: java.io.IOException: Eine vorhandene Verbindung wurde vom Remotehost geschlossen], siblings=[], style=Style{hasParent=false, color=null, bold=null, italic=null, underlined=null, obfuscated=null, clickEvent=null, hoverEvent=null, insertion=null}}

[16:58:06] [server thread/INFO] [net.minecraft.server.MinecraftServer]: ItsAMysterious left the game

 

 

 

Link to comment
Share on other sites

Okay, now the gui opens propperly. Somehow two eventhandlers collided and closed the gui from the other one cuz i forgot to remove the old event handler. So - im not sure if im doing everything propper in my IEEP class. Cuz when the player rejoines in the world, the gui opens again.

This is my code:

 

package itsamysterious.mods.reallifemod.core.lifesystem;

import itsamysterious.mods.reallifemod.core.blocks.tiles.TileEntity_Electric;
import net.minecraft.client.entity.EntityPlayerSP;
import net.minecraft.entity.Entity;
import net.minecraft.entity.player.EntityPlayer;
import net.minecraft.nbt.NBTTagCompound;
import net.minecraft.potion.Potion;
import net.minecraft.potion.PotionEffect;
import net.minecraft.util.BlockPos;
import net.minecraft.world.World;
import net.minecraftforge.common.IExtendedEntityProperties;
import net.minecraftforge.event.entity.player.PlayerEvent;
import net.minecraftforge.fml.common.eventhandler.SubscribeEvent;

public class RLMPlayerProps implements IExtendedEntityProperties {

private EntityPlayer player;
private World theWorld;

private String name;
private String surname;

private double toilet;
private double water;
private float money;
private double energy;
private double stamina;
private String gender;

public boolean shownGui;

private int timeWaterless = 0;
private int waterlowmessagetime = 0;

private String partner;

public static final String EXT_PROP_NAME = "RealLifeProperties";
private static final int NAMEWATCHER = 0;

public TileEntity_Electric lastTile;

public RLMPlayerProps() {
}

public RLMPlayerProps(EntityPlayer player) {
	this.player = player;
}

public static final void register(EntityPlayer player) {
	player.registerExtendedProperties(RLMPlayerProps.EXT_PROP_NAME, new RLMPlayerProps(player));
}

public static final RLMPlayerProps get(EntityPlayer player) {
	return (RLMPlayerProps) player.getExtendedProperties(EXT_PROP_NAME);
}

public void circleOfLife() {
	this.theWorld = this.player.worldObj;
	if (player != null && !player.capabilities.isCreativeMode) {
		if (getWater() > 0.1) {
			setWater(getWater() - 0.00138888889D);
		}

		if (toilet < 100) {
			toilet += 0.00415151515151515D;
		}

		updateEffects();
	}
}

private void updateEffects() {
	if (getWater() < 40 && getWater() > 10 && waterlowmessagetime % 200 == 0) {
		player.addChatComponentMessage(LinesHelper.ThirstWarning);

	}
	if (getWater() < 10 && getWater() > 0.1) {
		player.addChatComponentMessage(LinesHelper.ThirstWarning2);
		player.addPotionEffect(new PotionEffect(Potion.confusion.getId(), 100));
	} else if (player.getActivePotionEffect(Potion.confusion) != null) {
		player.removePotionEffect(Potion.confusion.id);
	}

	if (getWater() < 0.1) {
		player.addPotionEffect(new PotionEffect(Potion.weakness.getId(), 100));
		timeWaterless++;
		if (timeWaterless == 200) {
			player.addChatComponentMessage(LinesHelper.DyingOfThirst);
			player.setHealth(player.getHealth() - 1);
		}

	}
	// Toilet stuff
	if (toilet > 50) {
		player.addPotionEffect(new PotionEffect(Potion.digSlowdown.getId(), 1));
	} else {
		player.removePotionEffect(Potion.digSlowdown.getId());

	}

}

@Override
public void saveNBTData(NBTTagCompound compound) {
	player.writeEntityToNBT(compound);
	NBTTagCompound properties = new NBTTagCompound();
	properties.setDouble("WATER", getWater());
	properties.setDouble("TOILET", toilet);
	properties.setFloat("MONEY", money);
	if(this.name!=null&&!this.surname.isEmpty())
	properties.setString("NAME",this.name);
	else
		properties.setString("NAME","Set");
	if(this.surname!=null&&!this.surname.isEmpty())
	properties.setString("SURNAME", surname.isEmpty()?"Yourname":this.surname);
	properties.setDouble("ENERGIE", energy);
	properties.setBoolean("GUISHOWN", shownGui);
	if(getGender()!=null){
	properties.setString("GENDER", getGender());
	}else
	{
		properties.setString("GENDER", "male");
	}
	compound.setTag(EXT_PROP_NAME, properties);
}

@Override
public void loadNBTData(NBTTagCompound compound) {
	this.player.readEntityFromNBT(compound);
	NBTTagCompound theTag = compound.getCompoundTag(EXT_PROP_NAME);
	this.setWater(theTag.getDouble("WATER"));
	this.toilet = theTag.getDouble("TOILET");
	this.money = theTag.getFloat("MONEY");
	this.setName(theTag.getString("NAME"));
	this.setSurname(theTag.getString("SURNAME"));
	this.energy = theTag.getDouble("ENERGIE");
	this.shownGui = theTag.getBoolean("GUISHOWN");
	this.setGender(theTag.getString("GENDER"));

}

@Override
public void init(Entity entity, World world) {
	if (entity instanceof EntityPlayer) {
		this.player = (EntityPlayer) entity;
		this.setWater(100);
		this.toilet = 0;
	}
}

public void copy(RLMPlayerProps props) {
	this.player.getDataWatcher().updateObject(NAMEWATCHER, props.getName());
	this.name = props.name;
	this.surname = props.surname;
	this.gender = props.gender;

}

public void pee() {
	if (toilet > 0) {
		toilet -= 1;
	}
}

public void setGender(String s) {
	if (s.equals("male")) {
		gender = "male";
	} else
		gender = "female";
}

public static final String getFullname(EntityPlayerSP thePlayer) {
	return get(thePlayer).getName() + " " + get(thePlayer).getSurname();
}

public String getName() {
	return this.name;
}

public void setName(String name) {
	this.name = name;
}

public String getSurname() {
	return surname;
}

public void setSurname(String surname) {
	this.surname = surname;
}

public String getGender() {
	return gender;
}

public double getWater() {
	return water;
}

public void setWater(double water) {
	this.water = water;
}

}

 

PS - I know - the tagkeys i use are horrible :/ But appart from that - is the class setup correct?

Link to comment
Share on other sites

Whoops - i tried that cuz i thought the data could have been null, ill immediatly remove it now. And also i reacted on the things you said, i just didn't wrote that i did sow. I now use the EntityConstructing event to register the props if they are null and in the playertickevent i do the guistuff if one of the values is null.

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Unfortunately, your content contains terms that we do not allow. Please edit your content to remove the highlighted words below.
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.