TriggerHandler.java probs
Post MTG Forge Related Programming Questions Here
Moderators: timmermac, Agetian, friarsol, Blacksmith, KrazyTheFox, CCGHQ Admins
2 posts
• Page 1 of 1
TriggerHandler.java probs
by RumbleBBU » 09 Sep 2012, 04:55
Just checked out the most recent files from the trunk, and TriggerHandler.java seems to be giving two errors now:
- Code: Select all
Description Resource Path Location Type
The method setIsBuyBackAbility(boolean) is undefined for the type SpellAbility TriggerHandler.java /ForgeLocal/src/main/java/forge/card/trigger line 829 Java Problem
The method setIsBuyBackAbility(boolean) of type new Ability(){} must override or implement a supertype method TriggerHandler.java /ForgeLocal/src/main/java/forge/card/trigger line 828 Java Problem
- Code: Select all
@Override
public void setIsBuyBackAbility(final boolean b) {
sa[0].setIsBuyBackAbility(b);
}
Re: TriggerHandler.java probs
by Sloth » 09 Sep 2012, 12:29
Fixed! Didn't notice the compile error because there was the other one already. And it was dead code anyway.
-

Sloth - Programmer
- Posts: 3498
- Joined: 23 Jun 2009, 19:40
- Has thanked: 125 times
- Been thanked: 507 times
2 posts
• Page 1 of 1
Who is online
Users browsing this forum: No registered users and 25 guests