Weirest bug ever happened, it said "Item.ItemInformation" is higher protection level than Item.Tack even though both were public, i eventurally found that it was because Item was "class" where as "Item.Tack" was "public class" so i made everything be "public class"

This commit is contained in:
SilicaPi 2021-01-31 01:18:52 +13:00
parent 6a620f4be5
commit 3c25795188
50 changed files with 186 additions and 60 deletions

View file

@ -1,9 +1,11 @@
using HISP.Server;
using HISP.Game.Items;
using System.Collections.Generic;
namespace HISP.Game.Horse
{
class HorseInfo
public class HorseInfo
{
public enum StatType
{

View file

@ -4,7 +4,7 @@ using HISP.Server;
namespace HISP.Game.Horse
{
class HorseInstance
public class HorseInstance
{
public HorseInstance(HorseInfo.Breed breed, int randomId = -1, string loadName=null, string loadDescription = "", int loadSpoiled=0, string loadCategory="KEEPER", int loadMagicUsed=0, int loadAutoSell=0)
{

View file

@ -9,7 +9,7 @@ using System.Threading.Tasks;
namespace HISP.Game.Horse
{
class WildHorse
public class WildHorse
{
public WildHorse(HorseInstance horse, int MapX = -1, int MapY = -1, int despawnTimeout=60, bool addToDatabase = true)