Skip to content

Commit 61fd653

Browse files
AAAHHHHHHH WHAT'S HAPPENING
1 parent cff0730 commit 61fd653

2 files changed

Lines changed: 5 additions & 4 deletions

File tree

src/main/java/com/crowsofwar/avatar/common/entity/ai/EntityAiGiveScroll.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -77,7 +77,7 @@ public boolean shouldContinueExecuting() {
7777
System.out.println("Thonk");
7878

7979
ticksExecuting++;
80-
if (ticksExecuting >= 20) {
80+
if (ticksExecuting >= 10) {
8181
System.out.println("Huh");
8282

8383
World world = entity.world;

src/main/java/com/crowsofwar/avatar/common/entity/mob/EntityAirbender.java

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -195,6 +195,7 @@ public IEntityLivingData onInitialSpawn(DifficultyInstance difficulty, @Nullable
195195
scrollsLeft = 1;
196196
}
197197
setLevel(level);
198+
scrollsLeft = getLevel();
198199
return super.onInitialSpawn(difficulty, livingdata);
199200
}
200201

@@ -219,9 +220,9 @@ public ITextComponent getDisplayName() {
219220

220221
@Override
221222
public boolean processInteract(EntityPlayer player, EnumHand hand) {
222-
/*if (!world.isRemote) {
223-
System.out.println(level);
224-
}**/
223+
if (!world.isRemote) {
224+
System.out.println(scrollsLeft);
225+
}
225226
return super.processInteract(player, hand);
226227
}
227228
}

0 commit comments

Comments
 (0)