question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

github_iconTop GitHub Comments

1reaction
awjacksoncommented, Mar 12, 2022

At least some of these MageObject interface methods (e.g. adjustCosts, adjustTargets) are relics that shouldn’t exist at all anymore–they were refactored some time ago into the CostAdjuster and TargetAdjuster classes. I’ll look at cleaning them up after the next release.

0reactions
Alex-Vasilecommented, Mar 12, 2022

Were there comments added for why the above functions should be empty?

For example, why does setStartingLoyalty do nothing versus calling SourceObject.setStartingLoyalty(startingLoyalty)?

Same for all of the others.

Read more comments on GitHub >

github_iconTop Results From Across the Web

c# - Multiple Main Functions - Stack Overflow
Just for clarification, a class can have more than one main method. For example, you could have public static void main() and public...
Read more >
Stack empty() Method in Java - GeeksforGeeks
empty () method in Java is used to check whether a stack is empty or not. The method is of boolean type and...
Read more >
5 ways to force Java garbage collection - TheServerSide.com
If developers need the JVM to free up some heap space, here are five ways to motivate and then force garbage collection in...
Read more >
public static void main(String[] args) - Java main method
The main method can contain code to execute or call other methods, and it can be placed in any class that's part of...
Read more >
Lesson: A Closer Look at the "Hello World!" Application
*/ class HelloWorldApp { public static void main(String[] args) { System.out.println("Hello World!"); //Display the string. } } In the Java programming language ...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found