Permalink
Browse files

Fix outpost spawns to correctly use the outpost spawn permission when

using no outpost number.
  • Loading branch information...
1 parent 8999c72 commit d4f935102c1adb1ee6219d97776810dff6967129 @ElgarL committed Dec 11, 2012
Showing with 5 additions and 3 deletions.
  1. +3 −1 src/ChangeLog.txt
  2. +1 −1 src/com/palmergames/bukkit/towny/command/TownCommand.java
  3. +1 −1 src/plugin.yml
View
@@ -1742,4 +1742,6 @@ v0.82.0.3:
- Fix Ender peral teleports into protected areas.
- Protect Hanging items from explosions per plot settings.
- Prevent monsters breaking frames unless explosions are enabled.
- - attach PlayerMoveEvent to its related PlayerMoveChunkEvent (andre)
+ - attach PlayerMoveEvent to its related PlayerMoveChunkEvent (andre)
+v0.82.0.4:
+ - Fix outpost spawns to correctly use the outpost spawn permission when using no outpost number.
@@ -1215,7 +1215,7 @@ public static void townSpawn(Player player, String[] split, Boolean outpost) {
// Determine conditions
if (isTownyAdmin) {
townSpawnPermission = TownSpawnLevel.ADMIN;
- } else if (split.length == 0) {
+ } else if ((split.length == 0) && (!outpost)) {
townSpawnPermission = TownSpawnLevel.TOWN_RESIDENT;
} else {
// split.length > 1
View
@@ -1,6 +1,6 @@
name: Towny
main: com.palmergames.bukkit.towny.Towny
-version: 0.82.0.3
+version: 0.82.0.4
author: Shade, Modified by FuzzeWuzze. Forked by ElgarL
website: http://code.google.com/a/eclipselabs.org/p/towny/
description: >

0 comments on commit d4f9351

Please sign in to comment.