Package com.kellerkindt.scs.internals

Examples of com.kellerkindt.scs.internals.Transaction


    @Override
    public boolean execute() throws MissingOrIncorrectArgumentException, InsufficientPermissionException {
        if(errorCheck())
            return true;
       
        Transaction t = ShowCaseStandalone.pv.getLastTransaction(player);
        if(t == null)
            Messaging.send(player, Term.ERROR_UNDO_NO_AVAILABLE.get());
        else {
            if(!t.undo())
                Messaging.send(player, t.returnMessage);
        }
       
        return true;
    }
View Full Code Here


    @Override
    public boolean execute() throws MissingOrIncorrectArgumentException, InsufficientPermissionException {
        if(errorCheck())
            return true;

        Transaction t = ShowCaseStandalone.pv.getLastTransaction(player);
        if(t == null)
          Messaging.send(player, Term.ERROR_TRANSACTION_NO_RECORDED.get());
        else
            Messaging.mlSend(player, t.info());

        return true;
    }
View Full Code Here

TOP

Related Classes of com.kellerkindt.scs.internals.Transaction

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.