mirror of
https://github.com/GTNewHorizons/CraftTweaker.git
synced 2026-11-24 22:04:23 +00:00
Move sources and resources
This commit is contained in:
1 parent
5044de32dd
commit
7f3b65c4b7
320 files changed
+4
-11598
No files matched your search
@@ -0,0 +1,22 @@
|
||||
package minetweaker;
|
||||
|
||||
/**
|
||||
* Base implementation for a non-undoable action.
|
||||
*
|
||||
* @author Stan Hebben
|
||||
*/
|
||||
public abstract class OneWayAction implements IUndoableAction {
|
||||
@Override
|
||||
public boolean canUndo() {
|
||||
return false;
|
||||
}
|
||||
|
||||
@Override
|
||||
public void undo() {
|
||||
}
|
||||
|
||||
@Override
|
||||
public String describeUndo() {
|
||||
return "impossibru!";
|
||||
}
|
||||
}
|
||||
Reference in new issue
Block a user