id changed

This commit is contained in:
s-prechtl 2022-06-09 09:26:17 +02:00
parent 8e64a009f5
commit 63acfe3807
7 changed files with 15 additions and 15 deletions

View file

@ -12,14 +12,14 @@ namespace Tiles {
ItemContainer ic = ItemContainer.Instance;
if (usable.Id == ic.GetItemIdByName("Fishing Rod")) {
if (usable.ID == ic.GetItemIdByName("Fishing Rod")) {
FishingController fc = FishingController.instance;
if (!fc.Fishing) {
fc.StartFishing();
} else {
fc.TryCatch();
}
} else if (usable.Id == ic.GetItemIdByName("Shovel")) {
} else if (usable.ID == ic.GetItemIdByName("Shovel")) {
rv = new GrassTile(_gameObject);
}