aboutsummaryrefslogtreecommitdiff
path: root/src/ch/epfl
diff options
context:
space:
mode:
authorPacien TRAN-GIRARD2016-04-09 22:40:36 +0200
committerPacien TRAN-GIRARD2016-04-09 22:40:36 +0200
commit0355436f731a4cd6c63bc7d776a391bf43e19a41 (patch)
treea76f161d8b4cc3e6f8a9fa9a9171d7ff755466bb /src/ch/epfl
parentdd3fa83b18bdfa2010dbaa372682bd11bdb3e9bb (diff)
downloadxblast-0355436f731a4cd6c63bc7d776a391bf43e19a41.tar.gz
Fix player hosting block ability
Diffstat (limited to 'src/ch/epfl')
-rw-r--r--src/ch/epfl/xblast/server/Block.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/ch/epfl/xblast/server/Block.java b/src/ch/epfl/xblast/server/Block.java
index 5a139ff..6076297 100644
--- a/src/ch/epfl/xblast/server/Block.java
+++ b/src/ch/epfl/xblast/server/Block.java
@@ -74,7 +74,7 @@ public enum Block {
74 * @return T(this block can host a player) 74 * @return T(this block can host a player)
75 */ 75 */
76 public boolean canHostPlayer() { 76 public boolean canHostPlayer() {
77 return this.isFree(); 77 return this.isFree() || this.isBonus();
78 } 78 }
79 79
80 /** 80 /**