make stronghold mobs aggro

This commit is contained in:
FatBoy committed 2024-07-07 21:00:32 -05:00
1 parent 4c21439847
commit 51c98746c4
2 files changed
+3 -3

No files matched your search

+1 -1
View File
@@ -654,7 +654,7 @@ public enum LootManager {
}
public static void DropPresent(Mob mob){
int random = ThreadLocalRandom.current().nextInt(ItemBase.AnniverseryGifts.size());
int random = ThreadLocalRandom.current().nextInt(ItemBase.AnniverseryGifts.size() - 1);
int presentID = ItemBase.AnniverseryGifts.get(random);
ItemBase presentBase = ItemBase.getItemBase(presentID);
if(presentBase != null){