Skip to content
This repository has been archived by the owner on Aug 22, 2024. It is now read-only.

Commit

Permalink
Update to 1.0.0 and make Spout a hard dependancy.
Browse files Browse the repository at this point in the history
  • Loading branch information
Rycochet committed Dec 4, 2011
1 parent 3c9e71f commit 29e88b2
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 13 deletions.
9 changes: 1 addition & 8 deletions pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -76,13 +76,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.

<!-- Dependencies -->
<dependencies>
<dependency>
<groupId>org.avaje</groupId>
<artifactId>ebean</artifactId>
<version>2.7.3</version>
<type>jar</type>
<scope>provided</scope>
</dependency>
<dependency>
<groupId>org.getspout</groupId>
<artifactId>spoutapi</artifactId>
Expand All @@ -92,7 +85,7 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
<dependency>
<groupId>org.bukkit</groupId>
<artifactId>bukkit</artifactId>
<version>0.0.1-SNAPSHOT</version>
<version>1.0.0-R1-SNAPSHOT</version>
<scope>provided</scope>
</dependency>
<dependency>
Expand Down
6 changes: 2 additions & 4 deletions src/main/java/mmo/Chat/MMOChat.java
Original file line number Diff line number Diff line change
Expand Up @@ -224,9 +224,7 @@ public void onScreenOpen(ScreenOpenEvent event) {
).setLayout(ContainerType.OVERLAY).setAnchor(WidgetAnchor.BOTTOM_LEFT).setY(-27).setX(4).setHeight(13).setWidth(label.getWidth() + 6).setVisible(false);
chatbar.put(player, bar);
player.getMainScreen().attachWidget(plugin, bar);
if (bar != null) {
bar.setVisible(true).setDirty(true);
}
bar.setVisible(true);
}
}

Expand All @@ -235,7 +233,7 @@ public void onScreenClose(ScreenCloseEvent event) {
if (!event.isCancelled() && event.getScreenType() == ScreenType.CHAT_SCREEN) {
Widget bar = chatbar.remove(event.getPlayer());
if (bar != null) {
bar.setVisible(false).setDirty(true);
bar.setVisible(false);
}
}
}
Expand Down
2 changes: 1 addition & 1 deletion src/main/resources/plugin.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ main: mmo.Chat.MMOChat
version: 1.5
website: http://forums.bukkit.org/threads/
author: Rycochet <rycochet@rycochet.com>
depend: [mmoCore]
depend: [Spout,mmoCore]

description: Utility functions for mmo-minecraft

Expand Down

0 comments on commit 29e88b2

Please sign in to comment.