Skip to content
This repository has been archived by the owner on Nov 5, 2019. It is now read-only.

Improve parameters for gate edit #1

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

TheComputerGeek2
Copy link
Member

This should enhance tab completion for /g edit that arguments.

{
gate.addContent(thatCoord);
VisualizeUtil.addLocation(me, thatLoc, Const.visContent);
SmokeUtil.spawnCloudSimple(thatLoc);
}
else if (firstArgChar == 'd')
else if (edit == GateEdit.DELETE)
{
gate.delContent(thatCoord);
gate.delFrame(thatCoord);
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

the else statement below can be removed, right?

@@ -0,0 +1,15 @@
package com.massivecraft.massivegates;

public enum GateEdit
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

GateAlter, GateModification, GateChange

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants